summaryrefslogtreecommitdiff
path: root/app/views/layouts/_startup_js.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/_startup_js.html.haml')
-rw-r--r--app/views/layouts/_startup_js.html.haml2
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',