From 3bd3ee30ddad62bf3f85fb74fe2ed2a7538accec Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 4 Mar 2024 19:58:44 +0300 Subject: [PATCH] author-id-fix --- index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.mjs b/index.mjs index 9cbbf21..108a29c 100644 --- a/index.mjs +++ b/index.mjs @@ -65,7 +65,7 @@ const server = Server.configure({ .then(res => res.json()) .then(data => { console.debug(data) - const { id: author_id } = data.get_author + const { id: author_id } = data.get_author_id if (author_id) { fetch('https://core.discours.io/', { method: 'POST',