Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit fdcb05c

Browse files
authored
Update User.js
1 parent 58319a5 commit fdcb05c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/classes/User.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff 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({

0 commit comments

Comments
 (0)