mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +00:00
Update subscription.ts
This commit is contained in:
@@ -98,6 +98,11 @@ export const subscriptionApi = {
|
|||||||
return response.data;
|
return response.data;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Save devices cart for later purchase after top-up
|
||||||
|
saveDevicesCart: async (devices: number): Promise<void> => {
|
||||||
|
await apiClient.post('/cabinet/subscription/devices/save-cart', { devices });
|
||||||
|
},
|
||||||
|
|
||||||
// Update autopay settings
|
// Update autopay settings
|
||||||
updateAutopay: async (
|
updateAutopay: async (
|
||||||
enabled: boolean,
|
enabled: boolean,
|
||||||
|
|||||||
Reference in New Issue
Block a user