refactor: rewrite useAdminSamlAuthProviderRoleMappings with RQ

This commit is contained in:
Rıdvan Akca
2024-03-15 19:03:54 +03:00
parent f0793992a6
commit 6a1350fd00
7 changed files with 48 additions and 58 deletions

View File

@@ -1,11 +0,0 @@
import { gql } from '@apollo/client';
export const GET_SAML_AUTH_PROVIDER_ROLE_MAPPINGS = gql`
query GetSamlAuthProviderRoleMappings($id: String!) {
getSamlAuthProviderRoleMappings(id: $id) {
id
samlAuthProviderId
roleId
remoteRoleName
}
}
`;