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