Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reporter -> user
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 9e27eed commit a057520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/reports/submit.ts
Expand Up @@ -164,7 +164,7 @@ export async function onRequestPost(context: RequestContext) {
["mkv", "mov", "wmv"].includes(fileExt.toLowerCase()) ? "mp4" : fileExt
}`,
id: reportId,
reporter: {
user: {
discriminator: currentUser.discriminator,
email: currentUser.email,
id: currentUser.id,
Expand Down

0 comments on commit a057520

Please sign in to comment.