diff --git a/kdb-web/src/app/models/graphql/queries.model.ts b/kdb-web/src/app/models/graphql/queries.model.ts index 14f99354..4f6856b4 100644 --- a/kdb-web/src/app/models/graphql/queries.model.ts +++ b/kdb-web/src/app/models/graphql/queries.model.ts @@ -1,22 +1,5 @@ export class Queries { - static technicianConfigQuery = ` - query technicianConfigQuery { - technicianConfig { - id - helpCommandReferenceUrl - waitForRestart - waitForShutdown - cacheMaxMessages - pingURLs - technicianIds - - createdAt - modifiedAt - } - } - `; - static guildsQuery = ` query GuildsQuery($id: ID) { guilds(filter: {id: $id}) { @@ -382,31 +365,31 @@ export class Queries { static serverConfigQuery = ` query serverConfigQuery($serverId: ID) { servers(filter: { id: $serverId }) { - name - config { - id - messageDeleteTimer - notificationChatId - maxVoiceStateHours - xpPerMessage - xpPerReaction - maxMessageXpPerHour - xpPerOntimeHour - xpPerEventParticipation - xpPerAchievement - afkCommandChannelId - helpVoiceChannelId - teamChannelId - loginMessageChannelId - afkChannelIds - moderatorRoleIds - adminRoleIds - - server { + name + config { id + messageDeleteTimer + notificationChatId + maxVoiceStateHours + xpPerMessage + xpPerReaction + maxMessageXpPerHour + xpPerOntimeHour + xpPerEventParticipation + xpPerAchievement + afkCommandChannelId + helpVoiceChannelId + teamChannelId + loginMessageChannelId + afkChannelIds + moderatorRoleIds + adminRoleIds + + server { + id + } } } } - } `; }