From b76bcc09fe354c8167d790ae522c8ccdefb8edf3 Mon Sep 17 00:00:00 2001 From: Med Marrouchi Date: Wed, 16 Apr 2025 17:32:22 +0100 Subject: [PATCH] Revert "fix: backward compatibility content type fields type" --- api/src/cms/dto/contentType.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/cms/dto/contentType.dto.ts b/api/src/cms/dto/contentType.dto.ts index ea47e7d1..bd6e5f0f 100644 --- a/api/src/cms/dto/contentType.dto.ts +++ b/api/src/cms/dto/contentType.dto.ts @@ -40,7 +40,7 @@ export class ContentField { message: "type must be one of the following values: 'text', 'url', 'textarea', 'checkbox', 'file', 'html'", }) - type: `${FieldType}` | FieldType; + type: FieldType; } export class ContentTypeCreateDto {