Skip to content

Commit

Permalink
Add store header from config
Browse files Browse the repository at this point in the history
  • Loading branch information
herzog31 committed Mar 6, 2024
1 parent 8797e79 commit 2c144b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/commerce.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export async function performMonolithGraphQLQuery(query, variables, GET = true,

const headers = {
'Content-Type': 'application/json',
Store: 'default', // TODO await getConfigValue('commerce-store-code'),
Store: await getConfigValue('commerce-store-view-code'),
};

if (USE_TOKEN) {
Expand Down

0 comments on commit 2c144b6

Please sign in to comment.