Jelajahi Sumber

change upload audio validation

unknown 2 tahun lalu
induk
melakukan
813ddee41d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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(