mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Merge pull request #927 from Hexastack/fix/backward-compatibility-content-type-fields-type
fix: backward compatibility content type fields type
This commit is contained in:
commit
5563ce348d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user