lib/middleware/submissions.js
function addSubmissionFile(req, res, next) {
  req.addingNewSubmissionFile = true;

  updateSubmissionFile(req, res, next);
}
function addSubmissionFile(req, res, next) {
  req.addingNewSubmissionFile = true;

  updateSubmissionFile(req, res, next);
}
function addSubmissionFile ( req , res , next ) { req . addingNewSubmissionFile = true ; updateSubmissionFile ( req , res , next ) ; }
Adding A New File To A Submission
@param req
@param res
@param next
Adding A New File To A Submission