get-shout-data-fix-7
This commit is contained in:
parent
7d642243ae
commit
8659793c30
|
@ -82,7 +82,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)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user