This repository was archived by the owner on Sep 6, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class Post {
1313 }
1414
1515 let info = await variables
16- . fetch ( 'https://repl.it/graphql' , {
16+ . fetch ( 'https://staging. repl.it/graphql' , {
1717 method : 'POST' ,
1818 headers,
1919 body : JSON . stringify ( {
@@ -44,7 +44,7 @@ class Post {
4444 }
4545
4646 let info = await variables
47- . fetch ( 'https://repl.it/graphql' , {
47+ . fetch ( 'https://staging. repl.it/graphql' , {
4848 method : 'POST' ,
4949 headers,
5050 body : JSON . stringify ( {
@@ -89,16 +89,16 @@ class Post {
8989
9090 headers . Cookie = global . cookies ;
9191 let info = await variables
92- . fetch ( 'https://repl.it/graphql' , {
92+ . fetch ( 'https://staging. repl.it/graphql' , {
9393 method : 'POST' ,
9494 headers,
9595 body : JSON . stringify ( {
9696 query : `
97- mutation createComment($id: Int!, $message: String!) {
98- createComment(input: { body: $message, postId: $id }) {
99- comment { ${ variables . commentAttributes } }
100- }
101- }` ,
97+ mutation createComment($id: Int!, $message: String!) {
98+ createComment(input: { body: $message, postId: $id }) {
99+ comment { ${ variables . commentAttributes } }
100+ }
101+ }` ,
102102 variables : {
103103 id,
104104 message
You can’t perform that action at this time.
0 commit comments