fix report api created timestamp
All checks were successful
deploy / build-and-deploy (push) Successful in 23s

This commit is contained in:
2025-10-19 14:17:37 +02:00
parent ec5ec800de
commit 72934b672d

View File

@@ -23,7 +23,7 @@ export const GET = externalApi({
to_self: toSelf.map((report) => ({
reporter: report.reporter?.uuid ?? null,
reason: report.reason,
created: report.createdAt,
created: report.createdAt?.getTime() ?? null,
status: report.status?.status ?? null,
url: `${BASE_PATH}/report/${report.urlHash}`
}))