forked from SoDOff-Project/sodoff
change to `HttpPost
`
This commit is contained in:
parent
df4c7e4017
commit
ff4e8c39cd
@ -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