refactor: revew all design of services, clients, deadcode, ...

This commit is contained in:
Julien Froidefond
2025-08-24 22:03:15 +02:00
parent f4dcc89c11
commit 6fba622003
63 changed files with 969 additions and 1846 deletions

View File

@@ -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;