diff --git a/scripts/graphql.js b/scripts/graphql.js index 0d59b62f..fd20c366 100644 --- a/scripts/graphql.js +++ b/scripts/graphql.js @@ -103,7 +103,7 @@ export async function graphqlAllCampaignsFilter(first,cursor,filter) { } export async function graphqlCampaignByName(campaignName) { - const queryName = 'getCampaignNamesFilter'; + const queryName = 'getCampaignNameFilter'; const encodedCampaignName = encodeURIComponent(campaignName); const encodedSemiColon = encodeURIComponent(';'); //persisted query URLs have to be encoded together with the first semicolon