From 40ccf73331682ae4aea86f5ee2c8ad004b2e0fc9 Mon Sep 17 00:00:00 2001 From: Med Marrouchi Date: Wed, 16 Apr 2025 17:27:38 +0100 Subject: [PATCH] Update api/src/cms/dto/contentType.dto.ts --- 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 be03e245..ea47e7d1 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}`; + type: `${FieldType}` | FieldType; } export class ContentTypeCreateDto {