From 1ec54db25786dc08af85fba091cca79aa2537df5 Mon Sep 17 00:00:00 2001 From: Namekuji Date: Tue, 5 Sep 2023 19:14:47 -0400 Subject: [PATCH] increase antenna limit --- packages/backend/src/server/api/endpoints/antennas/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/antennas/create.ts b/packages/backend/src/server/api/endpoints/antennas/create.ts index ed16450120..cba1ec04d7 100644 --- a/packages/backend/src/server/api/endpoints/antennas/create.ts +++ b/packages/backend/src/server/api/endpoints/antennas/create.ts @@ -112,7 +112,7 @@ export default define(meta, paramDef, async (ps, user) => { const antennas = await Antennas.findBy({ userId: user.id, }); - if (antennas.length > 5 && !user.isAdmin) { + if (antennas.length > 100 && !user.isAdmin) { throw new ApiError(meta.errors.tooManyAntennas); }