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

Commit 4eeb80c

Browse files
author
RayhanADev
authored
1 parent a61cc2e commit 4eeb80c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/classes/Notification.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Notifications {
88
} else {
99
headers.Cookie = global.cookies;
1010
let info = await variables
11-
.fetch('https://staging.repl.it/graphql', {
11+
.fetch(variables.graphql, {
1212
method: 'POST',
1313
headers,
1414
body: JSON.stringify({
@@ -56,7 +56,7 @@ class Notifications {
5656
} else {
5757
headers.Cookie = global.cookies;
5858
let info = await variables
59-
.fetch('https://staging.repl.it/graphql', {
59+
.fetch(variables.graphql, {
6060
method: 'POST',
6161
headers,
6262
body: JSON.stringify({
@@ -104,7 +104,7 @@ class Notifications {
104104
} else {
105105
headers.Cookie = global.cookies;
106106
let info = await variables
107-
.fetch('https://staging.repl.it/graphql', {
107+
.fetch(variables.graphql, {
108108
method: 'POST',
109109
headers,
110110
body: JSON.stringify({
@@ -152,7 +152,7 @@ class Notifications {
152152
} else {
153153
headers.Cookie = global.cookies;
154154
let info = await variables
155-
.fetch('https://staging.repl.it/graphql', {
155+
.fetch(variables.graphql, {
156156
method: 'POST',
157157
headers,
158158
body: JSON.stringify({
@@ -200,7 +200,7 @@ class Notifications {
200200
} else {
201201
headers.Cookie = global.cookies;
202202
let info = await variables
203-
.fetch('https://staging.repl.it/graphql', {
203+
.fetch(variables.graphql, {
204204
method: 'POST',
205205
headers,
206206
body: JSON.stringify({
@@ -248,7 +248,7 @@ class Notifications {
248248
} else {
249249
headers.Cookie = global.cookies;
250250
let info = await variables
251-
.fetch('https://staging.repl.it/graphql', {
251+
.fetch(variables.graphql, {
252252
method: 'POST',
253253
headers,
254254
body: JSON.stringify({
@@ -296,7 +296,7 @@ class Notifications {
296296
} else {
297297
headers.Cookie = global.cookies;
298298
let info = await variables
299-
.fetch('https://staging.repl.it/graphql', {
299+
.fetch(variables.graphql, {
300300
method: 'POST',
301301
headers,
302302
body: JSON.stringify({

0 commit comments

Comments
 (0)