浏览代码

change upload audio validation

unknown 2 年之前
父节点
当前提交
813ddee41d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      routes/messages.js

+ 1 - 1
routes/messages.js

@@ -15,7 +15,7 @@ router
 	)
 	.post(
 		'/audio/:companionId',
-		[guard, upload.uploadAudio.single('audio'), validation.validateUploadFile],
+		[guard, upload.uploadAudio.single('audio')],
 		controllers.audioMessage
 	)
 	.post(