From 69b2f91f2453c40ed87461f2217430dd322d27d0 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman Date: Mon, 9 Oct 2023 12:29:18 -0400 Subject: [PATCH] Forgot const keyword --- 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 011c315c..a8e581ae 100644 --- a/api/activitypub/sendNote.ts +++ b/api/activitypub/sendNote.ts @@ -104,7 +104,7 @@ export default async function (req: VercelRequest, res: VercelResponse) { } sendingIds.add(...sentIds); - newSentIds = []; + const newSentIds = []; newSentIds.push(...sendingIds); configRef.set({ "sentIds": newSentIds,