Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set id property in keys
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent c665b8a commit 188275a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions functions/api/appeals/submit.ts
Expand Up @@ -71,6 +71,7 @@ export async function onRequestPost(context: RequestContext) {
JSON.stringify({
createdAt: Date.now(),
learned,
id: appealId,
user: {
discriminator: currentUser.discriminator,
email: currentUser.email,
Expand Down
1 change: 1 addition & 0 deletions functions/api/reports/submit.ts
Expand Up @@ -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,
Expand Down

0 comments on commit 188275a

Please sign in to comment.