forked from SoDOff-Project/sodoff
Basic Moderation System #1
@ -44,7 +44,7 @@ namespace sodoff.Controllers.Internal
|
||||
return Unauthorized("You Do Not Have Sufficient Permissions To Moderate Users");
|
||||
}
|
||||
|
||||
[HttpDelete]
|
||||
[HttpPost]
|
||||
[Route("Moderation/RemoveBansFromVikingByGuidAndType")]
|
||||
public IActionResult RemoveBanFromVikingByGuid([FromForm] Guid token, [FromForm] Guid userId, [FromForm] int banType)
|
||||
{
|
||||
@ -63,7 +63,7 @@ namespace sodoff.Controllers.Internal
|
||||
return Unauthorized("You Do Not Have Sufficient Permissions To Moderate Users");
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[HttpPost]
|
||||
[Route("Moderation/CheckForVikingBan")]
|
||||
public IActionResult CheckForVikingBan([FromForm] Guid token)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user