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

Commit ceb9727

Browse files
author
RayhanADev
authored
1 parent 4eeb80c commit ceb9727

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/classes/Post.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Post {
1313
}
1414

1515
let info = await variables
16-
.fetch('https://staging.repl.it/graphql', {
16+
.fetch(variables.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://staging.repl.it/graphql', {
47+
.fetch(variables.graphql, {
4848
method: 'POST',
4949
headers,
5050
body: JSON.stringify({
@@ -89,7 +89,7 @@ class Post {
8989

9090
headers.Cookie = global.cookies;
9191
let info = await variables
92-
.fetch('https://staging.repl.it/graphql', {
92+
.fetch(variables.graphql, {
9393
method: 'POST',
9494
headers,
9595
body: JSON.stringify({

0 commit comments

Comments
 (0)