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 @@ -9,16 +9,16 @@ class User {
99 async profileData ( ) {
1010 let user = this . username ;
1111 let info = await variables
12- . fetch ( 'https://repl.it/graphql' , {
12+ . fetch ( 'https://staging. repl.it/graphql' , {
1313 method : 'POST' ,
1414 headers,
1515 body : JSON . stringify ( {
1616 query : `
17- query User($user: String!) {
18- userByUsername(username: $user) {
19- ${ variables . userAttributes }
20- }
21- }`,
17+ query User($user: String!) {
18+ userByUsername(username: $user) {
19+ ${ variables . userAttributes }
20+ }
21+ }`,
2222 variables : {
2323 user
2424 }
@@ -45,7 +45,7 @@ class User {
4545 if ( after === null ) return ;
4646
4747 let info = await variables
48- . fetch ( 'https://repl.it/graphql' , {
48+ . fetch ( 'https://staging. repl.it/graphql' , {
4949 method : 'POST' ,
5050 headers,
5151 body : JSON . stringify ( {
@@ -100,7 +100,7 @@ class User {
100100 if ( after === null ) return ;
101101
102102 let info = await variables
103- . fetch ( 'https://repl.it/graphql' , {
103+ . fetch ( 'https://staging. repl.it/graphql' , {
104104 method : 'POST' ,
105105 headers,
106106 body : JSON . stringify ( {
You can’t perform that action at this time.
0 commit comments