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

Commit c7c0ef5

Browse files
author
RayhanADev
authored
1 parent 39b2f53 commit c7c0ef5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/classes/Comment.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Comment {
1515
}
1616

1717
let info = await variables
18-
.fetch('https://staging.repl.it/graphql', {
18+
.fetch(variables.graphql, {
1919
method: 'POST',
2020
headers,
2121
body: JSON.stringify({
@@ -60,7 +60,7 @@ class Comment {
6060

6161
headers.Cookie = global.cookies;
6262
let info = await variables
63-
.fetch('https://staging.repl.it/graphql', {
63+
.fetch(variables.graphql, {
6464
method: 'POST',
6565
headers,
6666
body: JSON.stringify({
@@ -107,7 +107,7 @@ class Comment {
107107

108108
headers.Cookie = global.cookies;
109109
let info = await variables
110-
.fetch('https://staging.repl.it/graphql', {
110+
.fetch(variables.graphql, {
111111
method: 'POST',
112112
headers,
113113
body: JSON.stringify({
@@ -158,7 +158,7 @@ class Comment {
158158

159159
headers.Cookie = global.cookies;
160160
let info = await variables
161-
.fetch('https://repl.it/graphql', {
161+
.fetch(variables.graphql, {
162162
method: 'POST',
163163
headers,
164164
body: JSON.stringify({

0 commit comments

Comments
 (0)