From 5a3f927c69f626344f8d497b2855360123fc0afb Mon Sep 17 00:00:00 2001 From: Hampus Kraft Date: Sun, 26 Jan 2020 19:36:35 +0100 Subject: [PATCH] fix: updating vanity URL length --- litecord/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/schemas.py b/litecord/schemas.py index 3919d43..8e0827b 100644 --- a/litecord/schemas.py +++ b/litecord/schemas.py @@ -603,7 +603,7 @@ GET_MENTIONS = { VANITY_URL_PATCH = { # TODO: put proper values in maybe an invite data type - "code": {"type": "string", "minlength": 5, "maxlength": 30} + "code": {"type": "string", "minlength": 2, "maxlength": 32} } WEBHOOK_CREATE = {