get-shout-data-fix-4
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user