Skip to content

Commit 81b74fa

Browse files
committed
fix(chat): make message not required to account for types that don't need it
1 parent 2fe0c91 commit 81b74fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/chat/src/models/Message.schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const schema: ConduitModel = {
1313
},
1414
message: {
1515
type: TYPE.String,
16-
required: true,
16+
required: false,
1717
},
1818
files: [
1919
{

0 commit comments

Comments
 (0)