Skip to content

Commit fa8364d

Browse files
committed
Remove hardcoded version from theme duplicate call
Now that the public theme duplicate mutation is in in latest (rather than release candidate) we no longer need to specify `2025-10` as the version This commit removes the hardcoded version value from the theme duplicate API call
1 parent 29ed218 commit fa8364d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.changeset/fluffy-signs-peel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/cli-kit': minor
3+
---
4+
5+
Remove hardcoded theme duplicate mutation API version

packages/cli-kit/src/public/node/themes/api.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,6 @@ describe('themeDuplicate', () => {
470470
session,
471471
variables: {id: `gid://shopify/OnlineStoreTheme/${id}`, name},
472472
preferredBehaviour: expectedApiOptions,
473-
version: '2025-10',
474473
responseOptions: {
475474
onResponse: expect.any(Function),
476475
},

packages/cli-kit/src/public/node/themes/api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ export async function themeDuplicate(
486486
session,
487487
variables: {id: composeThemeGid(id), name},
488488
preferredBehaviour: THEME_API_NETWORK_BEHAVIOUR,
489-
version: '2025-10',
490489
responseOptions: {
491490
onResponse: (response) => {
492491
requestId = response.headers.get('x-request-id') ?? undefined

0 commit comments

Comments
 (0)