fix: max user profile length to db field length

Resolves: #9749
This commit is contained in:
amy bones 2023-03-22 02:10:43 -07:00
parent bcd0488cf1
commit 1f840aa7b9
No known key found for this signature in database
GPG Key ID: 819528B765A64B82
1 changed files with 1 additions and 1 deletions

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 = {