added discord error message
This commit is contained in:
parent
ecaedcf9f3
commit
5125a35703
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue