File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,9 @@ export async function attachPaymentMethod({
369369
370370export async function detachPaymentMethod ( { secretKey, id, customerId} ) {
371371 const response = await server . loadJson (
372- `${ Config . apiUrl } ${ Endpoints . PROJECT . PAYMENTS . METHODS . DETACH ( id ) } ?customerId=${ customerId } ` ,
372+ `${ Config . apiUrl } ${ Endpoints . PROJECT . PAYMENTS . METHODS . DETACH (
373+ id
374+ ) } ?customerId=${ customerId } `,
373375 {
374376 method : 'DELETE' ,
375377 headers : {
Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ export const CONFIG = {
143143 METHODS : {
144144 GET_SETUP : '/v2/payments/methods/setup' ,
145145 ATTACH : '/v2/payments/methods/attach' ,
146- DETACH : ( id ) => `/v2/payments/methods/${ id } ` ,
147- UPDATE : ( id ) => `/v2/payments/methods/${ id } ` ,
146+ DETACH : ( id ) => `/v2/payments/methods/${ id } ` ,
147+ UPDATE : ( id ) => `/v2/payments/methods/${ id } ` ,
148148 } ,
149149 SUBSCRIPTIONS : {
150150 CREATE : ( customerId ) =>
You can’t perform that action at this time.
0 commit comments