use-promise-3
This commit is contained in:
@@ -47,7 +47,7 @@ const server = Server.configure({
|
||||
});
|
||||
}
|
||||
|
||||
fetch('https://core.discours.io/graphql', {
|
||||
fetch('https://core.discours.io/', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
@@ -67,7 +67,7 @@ const server = Server.configure({
|
||||
.then(data => {
|
||||
const { id: author_id } = data.get_author
|
||||
if (author_id) {
|
||||
fetch('https://core.discours.io/graphql', {
|
||||
fetch('https://core.discours.io/', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
|
Reference in New Issue
Block a user