diff options
author | kushalpandya <kushal@gitlab.com> | 2017-09-04 18:41:55 +0300 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-09-05 10:41:20 +0300 |
commit | c47e1c3975255774ebef69f5ce58b43ddda12065 (patch) | |
tree | c164ca995529fbb2919ded4afc3475ad7da5b49b /app/assets/javascripts/api.js | |
parent | 365adfa522414bcd4f578cee6bc244a1b97b7fff (diff) |
Make query param `simple` part of config
Diffstat (limited to 'app/assets/javascripts/api.js')
-rw-r--r-- | app/assets/javascripts/api.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/api.js b/app/assets/javascripts/api.js index 78cb3def879..8acddd6194c 100644 --- a/app/assets/javascripts/api.js +++ b/app/assets/javascripts/api.js @@ -5,7 +5,7 @@ const Api = { groupPath: '/api/:version/groups/:id.json', namespacesPath: '/api/:version/namespaces.json', groupProjectsPath: '/api/:version/groups/:id/projects.json', - projectsPath: '/api/:version/projects.json?simple=true', + projectsPath: '/api/:version/projects.json', labelsPath: '/:namespace_path/:project_path/labels', licensePath: '/api/:version/templates/licenses/:key', gitignorePath: '/api/:version/templates/gitignores/:key', @@ -58,6 +58,7 @@ const Api = { const defaults = { search: query, per_page: 20, + simple: true, }; if (gon.current_user_id) { |