feat: avatar column in admin users table

This commit is contained in:
Kirill
2026-05-21 20:52:43 +05:00
parent d1e4cc67aa
commit 2751332356
3 changed files with 21 additions and 1 deletions
+6
View File
@@ -33,6 +33,9 @@ export async function registerAdminUserRoutes(fastify) {
id: true,
email: true,
displayName: true,
avatar: true,
avatarType: true,
avatarStyle: true,
createdAt: true,
updatedAt: true,
},
@@ -44,6 +47,9 @@ export async function registerAdminUserRoutes(fastify) {
id: u.id,
email: u.email,
displayName: u.displayName,
avatar: u.avatar,
avatarType: u.avatarType,
avatarStyle: u.avatarStyle,
createdAt: u.createdAt,
updatedAt: u.updatedAt,
}))