From 48ff5108897abfef93c6e0fe768912aa2ac4e1e5 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sun, 7 Apr 2024 12:13:05 -1000 Subject: [PATCH] relax notification limit --- server/api/api/v1/notifications/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/api/v1/notifications/index.ts b/server/api/api/v1/notifications/index.ts index 41b5ca7f..754fa201 100644 --- a/server/api/api/v1/notifications/index.ts +++ b/server/api/api/v1/notifications/index.ts @@ -42,7 +42,7 @@ export default apiRoute<{ types, } = extraData.parsedRequest; - if (limit > 30) return errorResponse("Limit too high", 400); + if (limit > 80) return errorResponse("Limit too high", 400); if (limit <= 0) return errorResponse("Limit too low", 400);