Fixed JSDoc apiType in the frame pipeline

no issue

- The apiType parameter is optional and was causing type checking to fail in many palces
This commit is contained in:
Naz 2021-08-13 10:08:50 +04:00
parent 9bc5a279ca
commit 59a60d77b9

View File

@ -173,7 +173,7 @@ const STAGES = {
*
* @param {Function} apiController
* @param {Object} apiUtils - Local utils (validation & serialisation) from target API version
* @param {String} apiType - Content or Admin API access
* @param {String} [apiType] - Content or Admin API access
* @return {Function}
*/
const pipeline = (apiController, apiUtils, apiType) => {