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] getCustomerUpdatePaymentMethodEndpoint returns endpoint mssing in the path store-api #1975

Open
1 task done
kmMBuehler opened this issue Jan 25, 2023 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@kmMBuehler
Copy link

kmMBuehler commented Jan 25, 2023

What happened?

The endpoint returned by the getCustomerUpdatePaymentMethodEndpoint is missing the store-api prefix, see API.

// shopware-6-client.esm.js
var getCustomerUpdatePaymentMethodEndpoint = (paymentMethodId) => `/account/change-payment-method/${paymentMethodId}`;

Steps To Reproduce

Install @shopware-pwa/shopware-6-client from npm

Is there an existing issue for this?

  • I have searched the existing issues

Version

Canary (generated by CLI)

Which element is affected?

shopware-6-client

Environment

- OS: ubuntu
- Node: 16
- Shopware API: 6.4.18.1

Relevant log output

No response

@kmMBuehler kmMBuehler added the bug Something isn't working label Jan 25, 2023
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
None yet
Development

No branches or pull requests

1 participant