mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
relax notification limit
This commit is contained in:
parent
2c704bd57c
commit
48ff510889
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue