fix: various fixes to sentry-reported errors and more

This commit is contained in:
Hampus Kraft
2026-02-18 15:38:51 +00:00
parent 302c0d2a0c
commit 0517a966a3
357 changed files with 25420 additions and 16281 deletions

View File

@@ -55,8 +55,8 @@ function mapDiscoveryRowToResponse(row: GuildDiscoveryRow) {
description: row.description,
category_type: row.category_type,
applied_at: row.applied_at.toISOString(),
reviewed_at: row.reviewed_at?.toISOString() ?? null,
review_reason: row.review_reason ?? null,
reviewed_at: row.removed_at?.toISOString() ?? row.reviewed_at?.toISOString() ?? null,
review_reason: row.removal_reason ?? row.review_reason ?? null,
};
}