Skip to content

Commit e5b0903

Browse files
authored
Merge pull request #123 from episerver/bugfix/CMS-45339-graph-variables-type
Fix TS type for `variables`
2 parents bf10ffb + ac60c5f commit e5b0903

File tree

1 file changed

+1
-5
lines changed
  • packages/optimizely-cms-sdk/src/graph

1 file changed

+1
-5
lines changed

packages/optimizely-cms-sdk/src/graph/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,7 @@ export class GraphClient {
7777
}
7878

7979
/** Perform a GraphQL query with variables */
80-
async request(
81-
query: string,
82-
variables: GraphVariables,
83-
previewToken?: string
84-
) {
80+
async request(query: string, variables: any, previewToken?: string) {
8581
const url = new URL(this.graphUrl);
8682

8783
if (!previewToken) {

0 commit comments

Comments
 (0)