get-shout-data-fix-7

This commit is contained in:
Untone 2024-03-04 20:20:00 +03:00
parent 7d642243ae
commit 8659793c30

View File

@ -82,7 +82,7 @@ const server = Server.configure({
}),
})
.then(res => res.json())
.then((data) => {
.then(({data}) => {
console.debug('shout data:', data)
const { authors } = data.get_shout;
if (authors.some(author => author.id === author_id)) {