mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
feat: send campaign_slug during standalone email registration
Frontend now reads campaign slug from localStorage and includes it in the registration API call, ensuring campaign attribution works even if email verification happens in a different browser.
This commit is contained in:
@@ -97,6 +97,7 @@ export const authApi = {
|
||||
first_name?: string;
|
||||
language?: string;
|
||||
referral_code?: string;
|
||||
campaign_slug?: string;
|
||||
}): Promise<RegisterResponse> => {
|
||||
const response = await apiClient.post<RegisterResponse>(
|
||||
'/cabinet/auth/email/register/standalone',
|
||||
|
||||
Reference in New Issue
Block a user