fix default value for message channel enums (#4934)

This commit is contained in:
Weiko
2024-04-11 18:42:31 +02:00
committed by GitHub
parent e6a5a63acf
commit dc542a395e

View File

@ -68,7 +68,7 @@ export class MessageChannelObjectMetadata extends BaseObjectMetadata {
color: 'orange', color: 'orange',
}, },
], ],
defaultValue: MessageChannelVisibility.SHARE_EVERYTHING, defaultValue: `'${MessageChannelVisibility.SHARE_EVERYTHING}'`,
}) })
visibility: string; visibility: string;
@ -111,7 +111,7 @@ export class MessageChannelObjectMetadata extends BaseObjectMetadata {
color: 'blue', color: 'blue',
}, },
], ],
defaultValue: MessageChannelType.EMAIL, defaultValue: `'${MessageChannelType.EMAIL}'`,
}) })
type: string; type: string;