Set id property in keys
This commit is contained in:
parent
c665b8ae79
commit
188275aa7b
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user