fix(gdpr): drop reddit_attributions count from erasure script

The reddit attribution tables were removed in #469; the erasure
script still counted them, breaking tsc in ci:check.
This commit is contained in:
Ben Senescu 2026-08-08 19:21:47 -04:00
parent 9edb18db60
commit 877782ad19

View File

@ -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 {