Add historyType and historyId to Appeal, update database schema, API, and email templates to include punishment details.
This commit is contained in:
@@ -92,6 +92,7 @@ components:
|
||||
- username
|
||||
- email
|
||||
- punishmentId
|
||||
- punishmentType
|
||||
- appeal
|
||||
properties:
|
||||
username:
|
||||
@@ -107,6 +108,10 @@ components:
|
||||
punishmentId:
|
||||
type: integer
|
||||
description: Unique identifier of the punishment being appealed
|
||||
punishmentType:
|
||||
type: string
|
||||
enum: [ ban, mute, kick, warn ]
|
||||
description: Unique identifier of the punishment being appealed
|
||||
appeal:
|
||||
type: string
|
||||
description: Appeal text explaining why the punishment should be reconsidered
|
||||
|
||||
Reference in New Issue
Block a user