lib/middleware/formProjects.js
function update(req, res, next) {
  var params = {
    appId: req.params.id || req.body._id,
    forms: req.body.forms || []
  };
  forms.updateAppForms(req.connectionOptions, params, formsResultHandlers(constants.resultTypes.formProjects, req, next));
}
function update(req, res, next) {
  var params = {
    appId: req.params.id || req.body._id,
    forms: req.body.forms || []
  };
  forms.updateAppForms(req.connectionOptions, params, formsResultHandlers(constants.resultTypes.formProjects, req, next));
}
function update ( req , res , next ) { var params = { appId : req . params . id || req . body . _id , forms : req . body . forms || [ ] } ; forms . updateAppForms ( req . connectionOptions , params , formsResultHandlers ( constants . resultTypes . formProjects , req , next ) ) ; }
Update Projects Using A Form
@param req
@param res
@param next
Update Projects Using A Form