debug-logs-
This commit is contained in:
parent
8659793c30
commit
41f358c279
|
@ -64,7 +64,7 @@ const server = Server.configure({
|
||||||
})
|
})
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(({ data }) => {
|
.then(({ data }) => {
|
||||||
console.debug(data)
|
// console.debug(data)
|
||||||
const { id: author_id } = data.get_author_id
|
const { id: author_id } = data.get_author_id
|
||||||
if (author_id) {
|
if (author_id) {
|
||||||
fetch('https://core.discours.io/', {
|
fetch('https://core.discours.io/', {
|
||||||
|
@ -83,7 +83,7 @@ const server = Server.configure({
|
||||||
})
|
})
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(({data}) => {
|
.then(({data}) => {
|
||||||
console.debug('shout data:', data)
|
// console.debug('shout data:', data)
|
||||||
const { authors } = data.get_shout;
|
const { authors } = data.get_shout;
|
||||||
if (authors.some(author => author.id === author_id)) {
|
if (authors.some(author => author.id === author_id)) {
|
||||||
return resolve({
|
return resolve({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user