From 1f840aa7b9d7943b0c085a173ae0138629422895 Mon Sep 17 00:00:00 2001 From: amy bones Date: Wed, 22 Mar 2023 02:10:43 -0700 Subject: [PATCH] fix: max user profile length to db field length Resolves: #9749 --- packages/backend/src/models/repositories/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/models/repositories/user.ts b/packages/backend/src/models/repositories/user.ts index aa224b667..0bf31b1b3 100644 --- a/packages/backend/src/models/repositories/user.ts +++ b/packages/backend/src/models/repositories/user.ts @@ -66,7 +66,7 @@ const nameSchema = { type: "string", minLength: 1, maxLength: 50 } as const; const descriptionSchema = { type: "string", minLength: 1, - maxLength: 500, + maxLength: 2048, } as const; const locationSchema = { type: "string", minLength: 1, maxLength: 50 } as const; const birthdaySchema = {