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:
@@ -41,7 +41,7 @@ export class ApisService {
|
||||
description: dto.description ?? null,
|
||||
type: dto.type,
|
||||
yamlContent: dto.yamlContent,
|
||||
status: dto.yamlContent ? 'PENDING' : 'NO_YAML',
|
||||
status: (dto.yamlContent ? 'PENDING' : 'NO_YAML') as ApiStatus,
|
||||
categoryId: dto.categoryId ?? null,
|
||||
isCurrent,
|
||||
contactFunctionalName: dto.contactFunctionalName,
|
||||
|
||||
Reference in New Issue
Block a user