mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-17 07:12:32 +00:00
Reduce CaseTypes to those that can be temporary
This commit is contained in:
parent
e45a93dc33
commit
b3d91fd470
5 changed files with 8 additions and 66 deletions
|
@ -96,8 +96,7 @@ public class AdminUserController : ControllerBase
|
|||
Logger.Error($"Failed to delete planet resource {hash}\n{e}", LogArea.Admin);
|
||||
}
|
||||
}
|
||||
|
||||
this.database.Cases.Add(ModerationCase.NewPlanetDeletionCase(user.UserId, targetedUser.UserId));
|
||||
|
||||
await this.database.SaveChangesAsync();
|
||||
|
||||
return this.Redirect($"/user/{targetedUser.UserId}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue