Add historyType and historyId to Appeal, update database schema, API, and email templates to include punishment details.

This commit is contained in:
stijn committed 2025-08-16 23:40:20 +02:00
1 parent c3f3b20807
commit de1876c90c
8 files changed
+51 -21

No files matched your search

@@ -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