diff --git a/src/routes/admin.ts b/src/routes/admin.ts index f60938a..d089f5f 100644 --- a/src/routes/admin.ts +++ b/src/routes/admin.ts @@ -106,6 +106,7 @@ export default function (app: App) { notes: notes.map(note => ({ id: note.id, author: { + role: user.role, id: note.user.id, name: note.user.name },