Merge pull request 'fix: max user profile length to db field length' (#9750) from amybones/calckey:fix-profile-length into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9750
This commit is contained in:
Kainoa Kanter 2023-03-22 18:58:32 +00:00
commit 8243b635f4

View file

@ -66,7 +66,7 @@ const nameSchema = { type: "string", minLength: 1, maxLength: 50 } as const;
const descriptionSchema = { const descriptionSchema = {
type: "string", type: "string",
minLength: 1, minLength: 1,
maxLength: 500, maxLength: 2048,
} as const; } as const;
const locationSchema = { type: "string", minLength: 1, maxLength: 50 } as const; const locationSchema = { type: "string", minLength: 1, maxLength: 50 } as const;
const birthdaySchema = { const birthdaySchema = {