From 296b528657937961c25a97acd00514cc21ba3283 Mon Sep 17 00:00:00 2001 From: daikei Date: Mon, 19 Jun 2023 14:08:34 +0000 Subject: [PATCH] Allow moderators to see moderation notes --- packages/backend/src/server/api/endpoints/admin/show-user.ts | 1 + 1 file changed, 1 insertion(+) 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 e91f07f83..6eb7d59b9 100644 --- a/packages/backend/src/server/api/endpoints/admin/show-user.ts +++ b/packages/backend/src/server/api/endpoints/admin/show-user.ts @@ -42,6 +42,7 @@ export default define(meta, paramDef, async (ps, me) => { isModerator: user.isModerator, isSilenced: user.isSilenced, isSuspended: user.isSuspended, + moderationNote: profile.moderationNote, }; }