diff --git a/functions/api/me/items/[type]/[id].ts b/functions/api/me/items/[type]/[id].ts index a424962..0e2b9e7 100644 --- a/functions/api/me/items/[type]/[id].ts +++ b/functions/api/me/items/[type]/[id].ts @@ -27,6 +27,8 @@ export async function onRequestGet(context: RequestContext) { if (type === "report") { data.attachments = JSON.parse(data.attachments); + data.target_ids = JSON.parse(data.target_ids); + data.target_usernames = JSON.parse(data.target_usernames); const { AwsClient } = await import("aws4fetch"); const aws = new AwsClient({ accessKeyId: context.env.R2_ACCESS_KEY,