From e383bb86d5997a90061db63d17f6ca990bd8592f Mon Sep 17 00:00:00 2001 From: Toby Kohlhagen Date: Wed, 1 Oct 2025 18:00:09 +1000 Subject: [PATCH] patch note roles --- src/routes/admin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/admin.ts b/src/routes/admin.ts index d089f5f..6d377e6 100644 --- a/src/routes/admin.ts +++ b/src/routes/admin.ts @@ -106,7 +106,7 @@ export default function (app: App) { notes: notes.map(note => ({ id: note.id, author: { - role: user.role, + role: note.user.role, id: note.user.id, name: note.user.name },