diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-07-26 15:56:31 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-07-26 15:56:31 +0300 |
commit | a82b74324914fa63b1c9f4c0aef1f42101154ae9 (patch) | |
tree | 71a38b53ece0871e720258b52b3259d382d13d25 /app/assets/javascripts/api.js | |
parent | 4ae39cebe4de8438233d7b78a92334583e9905ab (diff) |
Fix eslint offenses
Diffstat (limited to 'app/assets/javascripts/api.js')
-rw-r--r-- | app/assets/javascripts/api.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/assets/javascripts/api.js b/app/assets/javascripts/api.js index b7524b3b142..c77e4dba098 100644 --- a/app/assets/javascripts/api.js +++ b/app/assets/javascripts/api.js @@ -103,16 +103,15 @@ const Api = { return $.ajax({ url, headers: { - 'PRIVATE_TOKEN': token, + PRIVATE_TOKEN: token, }, type: 'POST', - contentType: "application/json; charset=utf-8", + contentType: 'application/json; charset=utf-8', data: JSON.stringify(data), dataType: 'json', }) .done(commitData => callback(commitData)) .fail(message => callback(message.responseJSON)); - }, // Return text for a specific license |