lib/middleware/forms.js
function listSubscribers(req, res, next) {
  var listSubscribersParams = {
    _id: req.params.id
  };

  logger.debug("Middleware: listSubscribers: ", {params: listSubscribersParams});

  forms.getNotifications(_.extend(req.connectionOptions, listSubscribersParams), formsResultHandlers(constants.resultTypes.forms, req, next));
}
function listSubscribers(req, res, next) {
  var listSubscribersParams = {
    _id: req.params.id
  };

  logger.debug("Middleware: listSubscribers: ", {params: listSubscribersParams});

  forms.getNotifications(_.extend(req.connectionOptions, listSubscribersParams), formsResultHandlers(constants.resultTypes.forms, req, next));
}
function listSubscribers ( req , res , next ) { var listSubscribersParams = { _id : req . params . id } ; logger . debug ( "Middleware: listSubscribers: " , { params : listSubscribersParams } ) ; forms . getNotifications ( _ . extend ( req . connectionOptions , listSubscribersParams ) , formsResultHandlers ( constants . resultTypes . forms , req , next ) ) ; }
List All Subscribers For A Form
@param req
@param res
@param next
List All Subscribers For A Form