Skip to content

Commit 0f67b29

Browse files
committed
T-246 Fixed import catalog
1 parent a1d2ec0 commit 0f67b29

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

index.node.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.web.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,16 +1391,16 @@ export class Cinnamon {
13911391
headers?: Headers;
13921392
token?: string;
13931393
}) {
1394-
return (await this.api<'createCatalog'>({
1394+
return (await this.api<'importCatalog'>({
13951395
query: `mutation($input: CatalogImportInput!) {
1396-
createCatalog(input: $input) {
1396+
importCatalog(input: $input) {
13971397
${fields.join(' ')}
13981398
}
13991399
}`,
14001400
variables: { input },
14011401
headers,
14021402
token,
1403-
})).data.createCatalog;
1403+
})).data.importCatalog;
14041404
}
14051405

14061406
async updateCatalog({

0 commit comments

Comments
 (0)