akiramemasita

This commit is contained in:
tamaina 2023-05-29 17:19:20 +00:00
parent 90a22fe32f
commit 6198313c49

View file

@ -81,7 +81,7 @@ export default class extends Endpoint<'admin/show-user'> {
isModerator: isModerator, isModerator: isModerator,
isSilenced: isSilenced, isSilenced: isSilenced,
isSuspended: user.isSuspended, isSuspended: user.isSuspended,
lastActiveDate: user.lastActiveDate, lastActiveDate: user.lastActiveDate ? user.lastActiveDate.toISOString() : null,
moderationNote: profile.moderationNote ?? '', moderationNote: profile.moderationNote ?? '',
signins, signins,
policies: await this.roleService.getUserPolicies(user.id), policies: await this.roleService.getUserPolicies(user.id),