From 2e9191e6a2ab48fb2bdf0ba5d29ba4fa06ecd30e Mon Sep 17 00:00:00 2001 From: z3n Date: Wed, 24 Jun 2026 09:13:05 +0000 Subject: [PATCH] =?UTF-8?q?fix(apis):=20cast=20repo.save=20result=20pour?= =?UTF-8?q?=20r=C3=A9soudre=20l'overload=20TypeORM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- back/src/modules/apis/apis.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/src/modules/apis/apis.service.ts b/back/src/modules/apis/apis.service.ts index 6d2c038..16a7e83 100644 --- a/back/src/modules/apis/apis.service.ts +++ b/back/src/modules/apis/apis.service.ts @@ -51,7 +51,7 @@ export class ApisService { contactTechnicalEntity: dto.contactTechnicalEntity, contactTechnicalEmail: dto.contactTechnicalEmail, }); - const saved = await this.repo.save(entity); + const saved = await this.repo.save(entity) as ApiEntryEntity; return toApiEntry(saved); }