From 962013a1aa0040a4ffecfe981a9fc8c2a7986ccb Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 4 Mar 2024 20:14:42 +0300 Subject: [PATCH] get-shout-data-fix-4 --- index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {