From 2e04f3cef4fe35f3b53ede888a767fb0f60f16a0 Mon Sep 17 00:00:00 2001 From: hexastack Date: Wed, 16 Apr 2025 11:15:01 +0100 Subject: [PATCH] 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 bd6e5f0f..3ecd821b 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 | string; } export class ContentTypeCreateDto {