increase antenna limit
This commit is contained in:
parent
bb0cc000ae
commit
1ec54db257
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue