diff options
author | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-02-12 13:36:38 +0100 |
---|---|---|
committer | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-02-12 13:36:38 +0100 |
commit | 055ca681a973a9fbe4b774ab975684e450d4db9f (patch) | |
tree | d6069103366aa539c96dba0f89e03f3ab614f395 /app | |
parent | c4199f9e77e8f1dcdd1850fa81bbbe4635c7cac1 (diff) | |
download | gitlab-ce-055ca681a973a9fbe4b774ab975684e450d4db9f.tar.gz |
Fixed bug with param configdiff-and-gpg-badges-ajax-refactor
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/gpg_badges.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/gpg_badges.js b/app/assets/javascripts/gpg_badges.js index 57852de7dad..b33165f9402 100644 --- a/app/assets/javascripts/gpg_badges.js +++ b/app/assets/javascripts/gpg_badges.js @@ -11,7 +11,7 @@ export default class GpgBadges { badges.html('<i class="fa fa-spinner fa-spin"></i>'); const params = parseQueryStringIntoObject(form.serialize()); - return axios.get(form.data('signatures-path'), params) + return axios.get(form.data('signatures-path'), { params }) .then(({ data }) => { data.signatures.forEach((signature) => { badges.filter(`[data-commit-sha="${signature.commit_sha}"]`).replaceWith(signature.html); |