refactor: revew all design of services, clients, deadcode, ...
This commit is contained in:
@@ -160,8 +160,8 @@ export async function initializeEmptyEvaluation(
|
||||
try {
|
||||
// Simplement créer le profil via l'auth, pas besoin de créer une évaluation vide
|
||||
// Le backend créera automatiquement l'évaluation lors du premier accès
|
||||
const { AuthService } = await import("@/lib/auth-utils");
|
||||
await AuthService.login(profile);
|
||||
const { authClient } = await import("@/clients");
|
||||
await authClient.login(profile);
|
||||
} catch (error) {
|
||||
console.error("Failed to initialize evaluation:", error);
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user