diff --git a/src/pages/api/report/index.ts b/src/pages/api/report/index.ts index dc41bee..ff0fc7b 100644 --- a/src/pages/api/report/index.ts +++ b/src/pages/api/report/index.ts @@ -76,6 +76,7 @@ export const PUT: APIRoute = async ({ request }) => { const report = await tx.addReport({ reporterTeamId: reporterTeam?.team.id, reportedTeamId: reportedTeam.team.id, + createdAt: new Date(), reason: parsed.reason, body: parsed.body });