Skip to content

Commit 46f8bd7

Browse files
committed
💥 bugfix: audio validation
1 parent 60ffb98 commit 46f8bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validate/validate.schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const audioMessageSchema: JSONSchema7 = {
170170
properties: {
171171
audio: { type: 'string' },
172172
},
173-
required: ['audio', 'number'],
173+
required: ['audio'],
174174
...isNotEmpty('audio'),
175175
},
176176
},

0 commit comments

Comments
 (0)