Skip to content

Commit 5c3c674

Browse files
committed
fix: error
1 parent c8bcf36 commit 5c3c674

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/api/src/app/widgets/dtos/message-response.dto.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,10 @@ export class MessageResponseDto implements IMessage {
226226
@ApiProperty({
227227
oneOf: [
228228
{
229-
$ref: getSchemaPath(EmailBlock),
229+
type: 'array',
230+
items: {
231+
$ref: getSchemaPath(EmailBlock),
232+
},
230233
},
231234
{
232235
type: 'string',

0 commit comments

Comments
 (0)