get-shout-data-fix-4
This commit is contained in:
parent
b88d981891
commit
962013a1aa
|
@ -83,7 +83,7 @@ const server = Server.configure({
|
|||
}),
|
||||
})
|
||||
.then(res => res.json())
|
||||
.then(({ data }) => {
|
||||
.then((data) => {
|
||||
console.debug('shout data:', data)
|
||||
const { authors, created_by } = data.get_shout;
|
||||
if (authors.some(author => author.id === author_id) || created_by === author_id) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user