From 01e3c7b042c3128ec9302326ce736a1f8d2e4bb3 Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 31 Jan 2026 20:31:01 +0300 Subject: [PATCH] Update subscription.ts --- src/api/subscription.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/api/subscription.ts b/src/api/subscription.ts index b1c6953..80b60dd 100644 --- a/src/api/subscription.ts +++ b/src/api/subscription.ts @@ -98,6 +98,11 @@ export const subscriptionApi = { return response.data; }, + // Save devices cart for later purchase after top-up + saveDevicesCart: async (devices: number): Promise => { + await apiClient.post('/cabinet/subscription/devices/save-cart', { devices }); + }, + // Update autopay settings updateAutopay: async ( enabled: boolean,