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 cca4156804
commit b5130abc25

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