From 5125a3570371d8d186959b0c0d1a53e1d8b68ef8 Mon Sep 17 00:00:00 2001 From: Sarah Faey Date: Mon, 12 Dec 2022 14:12:39 +0100 Subject: [PATCH] added discord error message --- Lieb/Controllers/DiscordBotController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lieb/Controllers/DiscordBotController.cs b/Lieb/Controllers/DiscordBotController.cs index 434c9ef..368d2a7 100644 --- a/Lieb/Controllers/DiscordBotController.cs +++ b/Lieb/Controllers/DiscordBotController.cs @@ -40,7 +40,7 @@ namespace Lieb.Controllers [Route("[action]/{raidId}/{userId}/{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); }