diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-17 21:10:25 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-17 21:10:25 +0000 |
commit | 104faef9725d678d5e4456108a5ee9c7a50a1281 (patch) | |
tree | 969ea4632b9afea52e1a6becc02d8e7bc52f9f7e /app/assets/javascripts/gpg_badges.js | |
parent | 6f79cf2bd654a018387313de70b9dd45a373ce72 (diff) | |
download | gitlab-ce-104faef9725d678d5e4456108a5ee9c7a50a1281.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/gpg_badges.js')
-rw-r--r-- | app/assets/javascripts/gpg_badges.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/gpg_badges.js b/app/assets/javascripts/gpg_badges.js index fa6f07edfcf..7964e762dac 100644 --- a/app/assets/javascripts/gpg_badges.js +++ b/app/assets/javascripts/gpg_badges.js @@ -1,7 +1,8 @@ import $ from 'jquery'; import createFlash from '~/flash'; import axios from '~/lib/utils/axios_utils'; -import { parseQueryStringIntoObject } from '~/lib/utils/common_utils'; +import { queryToObject } from '~/lib/utils/url_utility'; + import { __ } from '~/locale'; export default class GpgBadges { @@ -27,7 +28,7 @@ export default class GpgBadges { return Promise.reject(new Error(__('Missing commit signatures endpoint!'))); } - const params = parseQueryStringIntoObject(tag.serialize()); + const params = queryToObject(tag.serialize()); return axios .get(endpoint, { params }) .then(({ data }) => { |