Skip to content

Commit

Permalink
[tagGraph] fix GQL error
Browse files Browse the repository at this point in the history
this should fix the config from always displaying
  • Loading branch information
stg-annon committed Jun 12, 2024
1 parent 6b37643 commit c8c4eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tagGraph/graph/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function GQL(query, variables){
}

async function getPluginConfig(pluginId){
const query=`query FindPluginConfig($input: [String!]){ configuration { plugins (include: $input) } }`
const query=`query FindPluginConfig($input: [ID!]){ configuration { plugins (include: $input) } }`
let config = await GQL(query, {"input": [pluginId]})
try {
return config.data.configuration.plugins[pluginId]
Expand Down

0 comments on commit c8c4eb2

Please sign in to comment.