Feat/um 114 roles and permissions (#1683)
* Auth checkpoint. * Merge branch 'dev' into feat/um-114-roles-and-permissions
This commit is contained in:
@@ -36,9 +36,7 @@ export async function getUser(
|
||||
id: true,
|
||||
username: true,
|
||||
userRole: {
|
||||
include: {
|
||||
role: true,
|
||||
},
|
||||
select: { role: true },
|
||||
},
|
||||
password: includePassword,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user