Skip to content

Commit

Permalink
💥 bugfix: audio validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jrCleber committed Aug 13, 2023
1 parent 60ffb98 commit 46f8bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validate/validate.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const audioMessageSchema: JSONSchema7 = {
properties: {
audio: { type: 'string' },
},
required: ['audio', 'number'],
required: ['audio'],
...isNotEmpty('audio'),
},
},
Expand Down

0 comments on commit 46f8bd7

Please sign in to comment.