Add mod notes to ban cases, improve case display

This commit is contained in:
jvyden 2022-07-27 17:53:20 -04:00
parent cdcc03fdc1
commit 7ba50e26f5
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
6 changed files with 30 additions and 18 deletions

View file

@ -59,6 +59,7 @@ public class ModerationSlotController : ControllerBase
if (slot == null) return this.Ok();
await this.database.RemoveSlot(slot);
this.database.Cases.Add(ModerationCase.NewLevelDeletionCase(user.UserId, slot.SlotId));
return this.Ok();
}