fix(apis): cast repo.save result pour résoudre l'overload TypeORM
Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -51,7 +51,7 @@ export class ApisService {
|
|||||||
contactTechnicalEntity: dto.contactTechnicalEntity,
|
contactTechnicalEntity: dto.contactTechnicalEntity,
|
||||||
contactTechnicalEmail: dto.contactTechnicalEmail,
|
contactTechnicalEmail: dto.contactTechnicalEmail,
|
||||||
});
|
});
|
||||||
const saved = await this.repo.save(entity);
|
const saved = await this.repo.save(entity) as ApiEntryEntity;
|
||||||
return toApiEntry(saved);
|
return toApiEntry(saved);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user