Skip to content

Commit 1c43682

Browse files
authored
Merge pull request #936 from Hexastack/revert-935-revert-927-fix/backward-compatibility-content-type-fields-type
Revert "Revert "fix: backward compatibility content type fields type""
2 parents b588d6c + 83d3e01 commit 1c43682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/cms/dto/contentType.dto.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class ContentField {
4040
message:
4141
"type must be one of the following values: 'text', 'url', 'textarea', 'checkbox', 'file', 'html'",
4242
})
43-
type: FieldType;
43+
type: `${FieldType}`;
4444
}
4545

4646
export class ContentTypeCreateDto {

0 commit comments

Comments
 (0)