increase antenna limit

This commit is contained in:
Namekuji 2023-09-05 19:14:47 -04:00
parent bb0cc000ae
commit 1ec54db257
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -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);
}