From fe916397ea2f6258befa2ecbc0d0eeb77ed632bb Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 5 Dec 2024 15:49:51 +0000 Subject: [PATCH] Update role endpoints --- packages/frontend-core/src/api/roles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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