change to `HttpPost`

This commit is contained in:
Alan Moon 2025-02-27 18:01:54 -08:00
parent df4c7e4017
commit ff4e8c39cd

View File

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