From 6198313c4911ac8c213ab6216e769e1a0365e5b9 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 29 May 2023 17:19:20 +0000 Subject: [PATCH] akiramemasita --- packages/backend/src/server/api/endpoints/admin/show-user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/admin/show-user.ts b/packages/backend/src/server/api/endpoints/admin/show-user.ts index 9c00ab8304..5a7082c97b 100644 --- a/packages/backend/src/server/api/endpoints/admin/show-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/show-user.ts @@ -81,7 +81,7 @@ export default class extends Endpoint<'admin/show-user'> { isModerator: isModerator, isSilenced: isSilenced, isSuspended: user.isSuspended, - lastActiveDate: user.lastActiveDate, + lastActiveDate: user.lastActiveDate ? user.lastActiveDate.toISOString() : null, moderationNote: profile.moderationNote ?? '', signins, policies: await this.roleService.getUserPolicies(user.id),