From e2d9c0efe2e7435c0b84ed608257593ad76bb456 Mon Sep 17 00:00:00 2001 From: okayurisotto Date: Sat, 29 Apr 2023 19:24:33 +0900 Subject: [PATCH] =?UTF-8?q?fix(backend):=20`alsoKnownAs`=E3=81=AE=E8=AA=A4?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E5=AE=9A=E7=BE=A9=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#10725)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/models/json-schema/user.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/models/json-schema/user.ts b/packages/backend/src/models/json-schema/user.ts index 836368886e..895934f8bd 100644 --- a/packages/backend/src/models/json-schema/user.ts +++ b/packages/backend/src/models/json-schema/user.ts @@ -80,9 +80,14 @@ export const packedUserDetailedNotMeOnlySchema = { }, alsoKnownAs: { type: 'array', - format: 'uri', nullable: true, optional: false, + items: { + type: 'string', + format: 'uri', + nullable: false, + optional: false, + }, }, createdAt: { type: 'string',