From 5eebab659a5a3437b9fe169fb6f88342aa0811ad Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Sun, 8 Oct 2023 17:54:39 -0400 Subject: [PATCH] Trying to fix sendnote, must debug in cloud --- api/activitypub/sendNote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/activitypub/sendNote.ts b/api/activitypub/sendNote.ts index e083d1eb5..cc952c62f 100644 --- a/api/activitypub/sendNote.ts +++ b/api/activitypub/sendNote.ts @@ -47,7 +47,7 @@ export default async function (req: VercelRequest, res: VercelResponse) { const configData = config.data(); let sentIds = []; if (configData != undefined) { - sentIds = configData.sendIds; + sentIds.push(...configData.sendIds); let lastEpoch = configData.lastEpoch; let currentEpoch = new Date().getTime(); let elapsed = currentEpoch - lastEpoch; -- GitLab