diff --git a/index.mjs b/index.mjs index 6de4a67..2f40a35 100644 --- a/index.mjs +++ b/index.mjs @@ -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) {