-
Notifications
You must be signed in to change notification settings - Fork 428
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
refactor(i18n): pass locale to help/versions check #5022
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Full Reportsanity
sanity/desk
@sanity/diff
@sanity/block-tools
@sanity/portable-text-editor
@sanity/mutator
@sanity/cli
@sanity/schema/_internal
@sanity/util/paths
sanity/router
@sanity/util/legacyDateFormat
@sanity/schema
sanity/cli
@sanity/vision
@sanity/util/fs
sanity/_internal
@sanity/util/content
@sanity/types
|
Component Testing Report Updated Oct 20, 2023 7:43 PM (UTC)
|
@@ -19,7 +19,7 @@ export function getHelpResources( | |||
Builds to: `{m: ['[email protected]']}' and serializes to: `[email protected]`. | |||
Final format will be e.g. https://api.sanity.io/v1/help?tag=sanity.studio.module.version-check&m=sanity%403.0.2 | |||
*/ | |||
query: {m: [`sanity@${SANITY_VERSION}`]}, | |||
query: {m: [`sanity@${SANITY_VERSION}`], locale}, |
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.
can the above todo comment now be removed?
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.
Oh, thanks - yes! - missed it 😅
lgtm - just a comment/question |
fc43e5a
to
9fdcbcb
Compare
Passes the
locale
parameter to the/help
endpoint, in order to (at some point) be able to localize the responses.