added discord error message

This commit is contained in:
Sarah Faey 2022-12-12 14:12:39 +01:00
parent ecaedcf9f3
commit 5125a35703

View file

@ -40,7 +40,7 @@ namespace Lieb.Controllers
[Route("[action]/{raidId}/{userId}/{ignoreRole}")] [Route("[action]/{raidId}/{userId}/{ignoreRole}")]
public ActionResult IsSignUpAllowed(int raidId, ulong userId, bool ignoreRole) public ActionResult IsSignUpAllowed(int raidId, ulong userId, bool ignoreRole)
{ {
if(!_raidService.IsRaidSignUpAllowed(userId, raidId, out string errorMessage, ignoreRole)) if(!_raidService.IsRaidSignUpAllowed(userId, raidId, out string errorMessage, ignoreRole, true))
{ {
return Problem(errorMessage); return Problem(errorMessage);
} }