я.метрика
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user