я.метрика

This commit is contained in:
Zakhar
2026-09-04 18:57:54 +03:00
parent 74f9885677
commit 80824b0494
22 changed files with 597 additions and 279 deletions
+9
View File
@@ -124,11 +124,20 @@ export function subscribeOnFinish(email: string): Promise<unknown> {
});
}
export function subscribeOnFail(email: string, comment: string): Promise<unknown> {
return requestWithRefresh(apiUrl('/api/promo/subscribe_fail'), {
method: 'POST',
headers: jsonHeaders,
body: JSON.stringify({ email, comment }),
});
}
const fallbackInitialData: InitialData = {
cart: [],
users: [],
initial_groups: [],
available_groups: [],
fullness: 90,
days: 7,
excess: 0,
precision: 0,