Update status to match UI
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Managing.Application.ManageBot
|
||||
var userBots = await _botService.GetBotsByUser(request.User.Id);
|
||||
|
||||
// Filter only active bots (status Up)
|
||||
var activeBots = userBots.Where(bot => bot.Status == BotStatus.Up).ToList();
|
||||
var activeBots = userBots.Where(bot => bot.Status == BotStatus.Running).ToList();
|
||||
|
||||
if (!activeBots.Any())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user