Prechádzať zdrojové kódy

change upload audio validation

unknown 2 rokov pred
rodič
commit
813ddee41d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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(