Merge pull request #49 from charlie-s/issue-46

Fix order of arguments in jsdoc comment of negotiateContentProducer.
This commit is contained in:
Miroslav Bajtoš 2017-03-13 17:21:04 +01:00 committed by GitHub
commit 37cb2ce938
1 changed files with 2 additions and 2 deletions

View File

@ -18,9 +18,9 @@ module.exports = negotiateContentProducer;
* to resolve the correct operation
*
* @param req request object
* @param {Object} options options of strong-error-handler
* @param {Function} logWarning a logger function for reporting warnings
* @returns {Function} Opeartion function with signature `fn(res, data)`
* @param {Object} options options of strong-error-handler
* @returns {Function} Operation function with signature `fn(res, data)`
*/
function negotiateContentProducer(req, logWarning, options) {
var SUPPORTED_TYPES = [