From 24290ff0b49ae44f26e090de126796f6a61bedf2 Mon Sep 17 00:00:00 2001 From: Frank Tovar Date: Thu, 29 Jan 2026 02:08:55 +0100 Subject: [PATCH] Allow up to 5 suggestions per player --- Endpoints/SuggestEndpoints.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Endpoints/SuggestEndpoints.cs b/Endpoints/SuggestEndpoints.cs index 90da3b0..b2c5ec7 100644 --- a/Endpoints/SuggestEndpoints.cs +++ b/Endpoints/SuggestEndpoints.cs @@ -74,9 +74,9 @@ public static class SuggestEndpoints } var existingCount = await db.Suggestions.CountAsync(s => s.PlayerId == player.Id); - if (existingCount >= 3) + if (existingCount >= 5) { - return Results.BadRequest(new { error = "You have reached the 3 suggestion limit." }); + return Results.BadRequest(new { error = "You have reached the 5 suggestion limit." }); } var suggestion = new Suggestion