fix: cast TypeORM update pour débloquer le build Nest

Partial<Entity> incompatible avec QueryDeepPartialEntity après
enrichissement Users.preferences (#214). Cast local minimal.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-16 16:36:07 +02:00
co-authored by Cursor
parent 90a2bc9ba6
commit 8629b5dcbf
2 changed files with 2 additions and 2 deletions
@@ -157,7 +157,7 @@ export class AssistantesMaternellesService {
}
if (Object.keys(amPatch).length > 0) {
await this.assistantesMaternelleRepository.update(amUserId, amPatch);
await this.assistantesMaternelleRepository.update(amUserId, amPatch as any);
}
return this.findOne(amUserId);
@@ -217,7 +217,7 @@ export class EnfantsService {
}
}
await this.childrenRepository.update(id, patch);
await this.childrenRepository.update(id, patch as any);
return this.findOne(id, currentUser);
}