impr(server): increase tag limit to 15

This commit is contained in:
Miodec 2023-08-18 11:42:41 +02:00
parent ed16e804b9
commit 3445f51cde

View file

@ -282,7 +282,7 @@ export async function addTag(
): Promise<MonkeyTypes.UserTag> {
const user = await getUser(uid, "add tag");
if ((user?.tags?.length ?? 0) >= 10) {
if ((user?.tags?.length ?? 0) >= 15) {
throw new MonkeyError(400, "You can only have up to 10 tags");
}