summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorConstance Okoghenun <cokoghenun@gitlab.com>2018-02-12 13:36:38 +0100
committerConstance Okoghenun <cokoghenun@gitlab.com>2018-02-12 13:36:38 +0100
commit055ca681a973a9fbe4b774ab975684e450d4db9f (patch)
treed6069103366aa539c96dba0f89e03f3ab614f395 /app
parentc4199f9e77e8f1dcdd1850fa81bbbe4635c7cac1 (diff)
downloadgitlab-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.js2
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);