diff --git a/backend/API/BusinessLogic/RecipeLogic.cs b/backend/API/BusinessLogic/RecipeLogic.cs index 3486171..4a286a1 100644 --- a/backend/API/BusinessLogic/RecipeLogic.cs +++ b/backend/API/BusinessLogic/RecipeLogic.cs @@ -21,7 +21,7 @@ namespace API.BusinessLogic public async Task GetRecipes(int userId) { var recipes = await _dbAccess.ReadRecipes(userId); - if (recipes == null || recipes.Count == 0) { return new ConflictObjectResult(new { message = "Could not find any recipes" }); } + if (recipes == null) { return new ConflictObjectResult(new { message = "Could not find any recipes" }); } var recipeDtos = recipes.Select(r => new GetAllRecipesDTO {