diff --git a/index.mjs b/index.mjs index 8651641..1ee8763 100644 --- a/index.mjs +++ b/index.mjs @@ -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)) {