refactor: remove get-current-user GQL query

This commit is contained in:
Rıdvan Akca
2024-03-13 12:36:11 +03:00
parent 1e868dc802
commit 082e905014
9 changed files with 20 additions and 123 deletions

View File

@@ -1,20 +0,0 @@
import { gql } from '@apollo/client';
export const GET_CURRENT_USER = gql`
query GetCurrentUser {
getCurrentUser {
id
fullName
email
role {
id
isAdmin
}
permissions {
id
action
subject
conditions
}
}
}
`;