tonder-web-sdk 1.11.0-beta.0 → 1.11.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/data/api.js +1 -2
- package/v1/bundle.min.js +1 -1
package/package.json
CHANGED
package/src/data/api.js
CHANGED
|
@@ -175,8 +175,7 @@ export async function getCustomerCards(baseUrlTonder, customerToken, query = "",
|
|
|
175
175
|
export async function getCustomerAPMs(baseUrlTonder, apiKeyTonder, query = "", signal) {
|
|
176
176
|
try {
|
|
177
177
|
const response = await fetch(
|
|
178
|
-
|
|
179
|
-
`http://localhost:8000/api/v1/payment_methods${query}`,
|
|
178
|
+
`${baseUrlTonder}/api/v1/payment_methods${query}`,
|
|
180
179
|
{
|
|
181
180
|
method: 'GET',
|
|
182
181
|
headers: {
|