From 4f061a28496773e8b2d3631640a474560f289507 Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 25 Jan 2024 05:25:47 +0900 Subject: [PATCH] chore (minor): remove unused parameter --- .../backend/src/server/api/endpoints/admin/update-user-note.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/admin/update-user-note.ts b/packages/backend/src/server/api/endpoints/admin/update-user-note.ts index d1a4a6043..41205e329 100644 --- a/packages/backend/src/server/api/endpoints/admin/update-user-note.ts +++ b/packages/backend/src/server/api/endpoints/admin/update-user-note.ts @@ -17,7 +17,7 @@ export const paramDef = { required: ["userId", "text"], } as const; -export default define(meta, paramDef, async (ps, me) => { +export default define(meta, paramDef, async (ps) => { const user = await Users.findOneBy({ id: ps.userId }); if (user == null) {