mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 09:16:13 +08:00
impr(server): increase tag limit to 15
This commit is contained in:
parent
ed16e804b9
commit
3445f51cde
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue