mirror of
https://github.com/hanzoai/captable.git
synced 2026-10-16 14:21:29 +00:00
fix: model name
This commit is contained in:
@@ -16,7 +16,7 @@ export const createRolesProcedure = withAccessControl
|
||||
.mutation(async ({ input, ctx: { db, membership } }) => {
|
||||
const permissions = extractPermission(input.permissions);
|
||||
|
||||
await db.role.create({
|
||||
await db.customRole.create({
|
||||
data: {
|
||||
companyId: membership.companyId,
|
||||
name: input.name,
|
||||
|
||||
Reference in New Issue
Block a user