1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

Update src/controllers/transport.js

Co-Authored-By: talyguryn <vitalik7tv@yandex.ru>
This commit is contained in:
Murod Khaydarov 2019-03-11 18:07:31 +03:00 committed by GitHub
parent 5faa2274a7
commit 397ca978a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ class Transport {
* @param {string} multerData.filename - name of the uploaded file * @param {string} multerData.filename - name of the uploaded file
* @param {string} multerData.path - path to the uploaded file * @param {string} multerData.path - path to the uploaded file
* @param {number} multerData.size - size of the uploaded file * @param {number} multerData.size - size of the uploaded file
* @paran {string} multerData.mimetype - MIME type of the uploaded file * @param {string} multerData.mimetype - MIME type of the uploaded file
* *
* @param {object} map - object that represents how should fields of File object should be mapped to response * @param {object} map - object that represents how should fields of File object should be mapped to response
* @return {Promise<FileData>} * @return {Promise<FileData>}