lib/middleware/submissions.js
function status(req, res, next) {
  var params = {
    submission: {
      submissionId: req.params.id
    }
  };

  logger.debug("Middleware Submission status ", {params: params});

  forms.getSubmissionStatus(_.extend(params, req.connectionOptions), submissionsHandler(constants.resultTypes.submissions, req, next));
}
function status(req, res, next) {
  var params = {
    submission: {
      submissionId: req.params.id
    }
  };

  logger.debug("Middleware Submission status ", {params: params});

  forms.getSubmissionStatus(_.extend(params, req.connectionOptions), submissionsHandler(constants.resultTypes.submissions, req, next));
}
function status ( req , res , next ) { var params = { submission : { submissionId : req . params . id } } ; logger . debug ( "Middleware Submission status " , { params : params } ) ; forms . getSubmissionStatus ( _ . extend ( params , req . connectionOptions ) , submissionsHandler ( constants . resultTypes . submissions , req , next ) ) ; }
Middleware For Getting The Current Status Of A Submission
@param req
@param res
@param next
Middleware For Getting The Current Status Of A Submission