Use correct property names in appeal submission endpoint
This commit is contained in:
parent
7dc655dea7
commit
812ebd913e
@ -69,17 +69,17 @@ export async function onRequestPost(context: RequestContext) {
|
||||
await context.env.DATA.put(
|
||||
`appeal_${appealId}`,
|
||||
JSON.stringify({
|
||||
ban_reason: whyBanned,
|
||||
createdAt: Date.now(),
|
||||
learned,
|
||||
id: appealId,
|
||||
reason_for_unban: whyUnban,
|
||||
user: {
|
||||
discriminator: currentUser.discriminator,
|
||||
email: currentUser.email,
|
||||
id: currentUser.id,
|
||||
username: currentUser.username,
|
||||
},
|
||||
whyBanned,
|
||||
whyUnban,
|
||||
}),
|
||||
{
|
||||
expirationTtl: 94608000,
|
||||
|
Loading…
x
Reference in New Issue
Block a user