Set id property in keys

This commit is contained in:
2023-10-19 16:49:27 -04:00
parent c665b8ae79
commit 188275aa7b
2 changed files with 2 additions and 0 deletions

View File

@ -163,6 +163,7 @@ export async function onRequestPost(context: RequestContext) {
attachment: `${fileKey}.${
["mkv", "mov", "wmv"].includes(fileExt.toLowerCase()) ? "mp4" : fileExt
}`,
id: reportId,
reporter: {
discriminator: currentUser.discriminator,
email: currentUser.email,