From 4c52f3b28656d5dd86f7d3b4216d1f56eb201029 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 4 Jun 2023 18:42:08 +0000 Subject: [PATCH] =?UTF-8?q?SignIn=E3=81=AFcreatedAt=E3=82=92toISOString?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/core/entities/SigninEntityService.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/core/entities/SigninEntityService.ts b/packages/backend/src/core/entities/SigninEntityService.ts index a94d2ef01..4ff9340d6 100644 --- a/packages/backend/src/core/entities/SigninEntityService.ts +++ b/packages/backend/src/core/entities/SigninEntityService.ts @@ -20,6 +20,9 @@ export class SigninEntityService { public async pack( src: Signin, ): Promise> { - return src; + return { + ...src, + createdAt: src.createdAt.toISOString(), + }; } }