fix(apis): cast status as ApiStatus pour compatibilité shared non recompilé

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:
z3n
2026-06-24 09:07:05 +00:00
parent 3836db1e1f
commit 14e5821ec0

View File

@@ -41,7 +41,7 @@ export class ApisService {
description: dto.description ?? null, description: dto.description ?? null,
type: dto.type, type: dto.type,
yamlContent: dto.yamlContent, yamlContent: dto.yamlContent,
status: dto.yamlContent ? 'PENDING' : 'NO_YAML', status: (dto.yamlContent ? 'PENDING' : 'NO_YAML') as ApiStatus,
categoryId: dto.categoryId ?? null, categoryId: dto.categoryId ?? null,
isCurrent, isCurrent,
contactFunctionalName: dto.contactFunctionalName, contactFunctionalName: dto.contactFunctionalName,