lib/middleware/submissions.js
function getSubmissionFile(req, res, next) {
  var params = {"_id": req.params.fileId};
  logger.debug("Middleware getSubmissionFile ", {params: params});
  forms.getSubmissionFile(req.connectionOptions, params, submissionsHandler(constants.resultTypes.submissions, req, next));
}
function getSubmissionFile(req, res, next) {
  var params = {"_id": req.params.fileId};
  logger.debug("Middleware getSubmissionFile ", {params: params});
  forms.getSubmissionFile(req.connectionOptions, params, submissionsHandler(constants.resultTypes.submissions, req, next));
}
function getSubmissionFile ( req , res , next ) { var params = { "_id" : req . params . fileId } ; logger . debug ( "Middleware getSubmissionFile " , { params : params } ) ; forms . getSubmissionFile ( req . connectionOptions , params , submissionsHandler ( constants . resultTypes . submissions , req , next ) ) ; }
Get A Single Submission File
@param req
@param res
@param next
Get A Single Submission File