diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-26 12:08:44 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-26 12:08:44 +0000 |
commit | 6e320396b26439a0c3fa1df1ce9f4c2395518227 (patch) | |
tree | 46e646052ba87e38f6e6866692d92cdb01878189 /app/views/layouts/_startup_js.html.haml | |
parent | c60d68bbaca234673f2f689e1f7444ce8edbcf86 (diff) | |
download | gitlab-ce-6e320396b26439a0c3fa1df1ce9f4c2395518227.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/layouts/_startup_js.html.haml')
-rw-r--r-- | app/views/layouts/_startup_js.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_startup_js.html.haml b/app/views/layouts/_startup_js.html.haml index f312e00c394..9c488e4f40d 100644 --- a/app/views/layouts/_startup_js.html.haml +++ b/app/views/layouts/_startup_js.html.haml @@ -25,7 +25,7 @@ }; gl.startup_graphql_calls = gl.startup_graphql_calls.map(call => ({ - operationName: call.query.match(/^query (.+)\(/)[1], + ...call, fetchCall: fetch(url, { ...opts, credentials: 'same-origin', |