From 46f8bd7de33db8dbc5d4baf198a101926b2ec94d Mon Sep 17 00:00:00 2001 From: jrcleber Date: Sun, 13 Aug 2023 13:41:07 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A5=20bugfix:=20audio=20validation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/validate/validate.schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validate/validate.schema.ts b/src/validate/validate.schema.ts index 6c2d9a5e..8f73811d 100644 --- a/src/validate/validate.schema.ts +++ b/src/validate/validate.schema.ts @@ -170,7 +170,7 @@ export const audioMessageSchema: JSONSchema7 = { properties: { audio: { type: 'string' }, }, - required: ['audio', 'number'], + required: ['audio'], ...isNotEmpty('audio'), }, },