Skip to content

Open source alternative to Semrush and Ahrefs

fix(gdpr): drop reddit_attributions count from erasure script

Ben Senescu877782ad1984
diff --git a/scripts/erase-user-data.ts b/scripts/erase-user-data.ts
index 5781a9a5..563aba75 100644
--- a/scripts/erase-user-data.ts
+++ b/scripts/erase-user-data.ts
@@ -305,10 +305,6 @@ async function buildInventory(db: Db, user: UserRow) {
schema.ga4Connections,
eq(schema.ga4Connections.connectedByUserId, user.id),
),
- reddit_attributions: await db.$count(
- schema.redditAttributions,
- eq(schema.redditAttributions.userId, user.id),
- ),
};
return {