refactor: rewrite useAppConfig with RQ

This commit is contained in:
Rıdvan Akca
2024-03-11 17:32:55 +03:00
parent bd5aedd83f
commit 63b9943203
9 changed files with 72 additions and 71 deletions
@@ -1,14 +0,0 @@
import { gql } from '@apollo/client';
export const GET_APP_CONFIG = gql`
query GetAppConfig($key: String!) {
getAppConfig(key: $key) {
id
key
allowCustomConnection
canConnect
canCustomConnect
shared
disabled
}
}
`;