From 14e5821ec0335d10f52616ac9d5403265fe89db7 Mon Sep 17 00:00:00 2001 From: z3n Date: Wed, 24 Jun 2026 09:07:05 +0000 Subject: [PATCH] =?UTF-8?q?fix(apis):=20cast=20status=20as=20ApiStatus=20p?= =?UTF-8?q?our=20compatibilit=C3=A9=20shared=20non=20recompil=C3=A9?= 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 c6d1a13..6d2c038 100644 --- a/back/src/modules/apis/apis.service.ts +++ b/back/src/modules/apis/apis.service.ts @@ -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,