@itilite/iui-user-management 1.4.92 → 1.4.93
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -414,7 +414,7 @@ var userAddEditUrl = {
|
|
|
414
414
|
return env.getPaymentUrl() + "/api/v1/card/default";
|
|
415
415
|
},
|
|
416
416
|
disablePaymentCard: function disablePaymentCard() {
|
|
417
|
-
return env.getPaymentUrl() + "/api/v1/card/status
|
|
417
|
+
return env.getPaymentUrl() + "/api/v1/payment/card-management/card/status";
|
|
418
418
|
},
|
|
419
419
|
verifyUserInfo: function verifyUserInfo(userId) {
|
|
420
420
|
return "api/v1/onboarding/user-sign-up-info/" + userId + "?company_id=" + IUILocalStorageService.getCompanyId();
|
|
@@ -2731,7 +2731,7 @@ var CardsManagement = function CardsManagement(_ref) {
|
|
|
2731
2731
|
logImpression: true
|
|
2732
2732
|
});
|
|
2733
2733
|
dispatch(disablePaymentCard({
|
|
2734
|
-
|
|
2734
|
+
stripe_card_ref: selectedCard.id,
|
|
2735
2735
|
vendor_id: pg.vendor_id,
|
|
2736
2736
|
is_enabled: (selectedCard === null || selectedCard === void 0 ? void 0 : (_selectedCard$metadat = selectedCard.metadata) === null || _selectedCard$metadat === void 0 ? void 0 : _selectedCard$metadat.is_enabled) === '0',
|
|
2737
2737
|
card_payment_type: 1,
|