From acd138ca42914c641ea8a12e5633a29320c7bf26 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Sun, 8 Oct 2023 18:18:37 -0400 Subject: [PATCH] Added missing new... grrr --- 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 5ce73ebd5..c33815220 100644 --- a/api/activitypub/sendNote.ts +++ b/api/activitypub/sendNote.ts @@ -66,7 +66,7 @@ export default async function (req: VercelRequest, res: VercelResponse) { const followersCollection = db.collection('followers'); const followersQuerySnapshot = await followersCollection.get(); - let sendingIds = Set(); + let sendingIds = new Set(); for (const followerDoc of followersQuerySnapshot.docs) { const follower = followerDoc.data(); -- GitLab