diff --git a/packages/frontend-core/src/api/roles.ts b/packages/frontend-core/src/api/roles.ts index 6a68706271..780bc511ed 100644 --- a/packages/frontend-core/src/api/roles.ts +++ b/packages/frontend-core/src/api/roles.ts @@ -1,6 +1,6 @@ import { AccessibleRolesResponse, - DestroyRoleResponse, + DeleteRoleResponse, FetchRolesResponse, SaveRoleRequest, SaveRoleResponse, @@ -8,7 +8,7 @@ import { import { BaseAPIClient } from "./types" export interface RoleEndpoints { - deleteRole: (id: string, rev: string) => Promise + deleteRole: (id: string, rev: string) => Promise saveRole: (role: SaveRoleRequest) => Promise getRoles: () => Promise getRolesForApp: (appId: string) => Promise