Skip to content
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

[BUG] API Client does not use context language/currency #695

Open
1 task done
kennyzehn opened this issue Feb 29, 2024 · 0 comments
Open
1 task done

[BUG] API Client does not use context language/currency #695

kennyzehn opened this issue Feb 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kennyzehn
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I changed the currency and language. But the API returns data always in the shop default language|currency. I figured out that this happens since version 0.3.0.

await apiClient.invoke( "updateContext patch /context", { languageId: lang, currencyId: currency, } );

Expected Behavior

Return data in context language and currency

Steps To Reproduce

  1. Change language and currency via updateContext patch /context
  2. Fetch Products or Navigation Items
  3. Check result :)

Environment

- OS: MacOS
- Node: v18.17.0
- pnpm: /

Anything else?

No response

@kennyzehn kennyzehn added the bug Something isn't working label Feb 29, 2024
@patzick patzick self-assigned this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants