mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
Auth checkpoint.
This commit is contained in:
parent
0bcfc6654d
commit
3085bdd713
6 changed files with 51 additions and 91 deletions
|
|
@ -44,14 +44,3 @@ export async function updateRole(
|
|||
where,
|
||||
});
|
||||
}
|
||||
|
||||
export async function deleteRole(roleId: string): Promise<Role> {
|
||||
return prisma.client.role.update({
|
||||
data: {
|
||||
isDeleted: true,
|
||||
},
|
||||
where: {
|
||||
id: roleId,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue