-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: pick the default store region #7369
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
|
packages/core/core-flows/src/defaults/steps/create-default-region.ts
Outdated
Show resolved
Hide resolved
packages/core/core-flows/src/defaults/steps/create-default-store.ts
Outdated
Show resolved
Hide resolved
packages/core/core-flows/src/defaults/steps/create-default-store.ts
Outdated
Show resolved
Hide resolved
const storeModule = container.resolve<IStoreModuleService>( | ||
ModuleRegistrationName.STORE | ||
) | ||
|
||
if (!data.regionId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be easier to read if it is if(data.regionId)
instead.
packages/core/core-flows/src/defaults/workflows/create-defaults.ts
Outdated
Show resolved
Hide resolved
name: "Default Region", | ||
currency_code: "dkk", | ||
}) | ||
const { region } = await seedStorefrontDefaults(appContainer, "dkk") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adrien2p @sradevski keeping this in the test file as its not required for most specs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds good 👍
what: