Add files via upload

This commit is contained in:
Egor
2026-01-23 11:34:14 +03:00
committed by GitHub
parent 0cf0518be2
commit 3a5034cb1e

View File

@@ -42,6 +42,17 @@ export const authApi = {
return response.data
},
// Register standalone email account (no Telegram required)
registerEmailStandalone: async (data: {
email: string
password: string
first_name?: string
language?: string
}): Promise<AuthResponse> => {
const response = await apiClient.post<AuthResponse>('/cabinet/auth/email/register/standalone', data)
return response.data
},
// Verify email
verifyEmail: async (token: string): Promise<{ message: string }> => {
const response = await apiClient.post('/cabinet/auth/email/verify', { token })