vicinityManager/server/controllers/api/api.js
/**
 * Get friendship notifications
 *
 * @param null
 *
 * @return {Object} Friendship notifications
 */
Get friendship notifications
@param null

@return {Object} Friendship notifications
Get friendship notifications @param null @return { Object } Friendship notifications
function partnershipFeeds(req, res, next) {
  var my_id = mongoose.Types.ObjectId(req.body.decoded_token.orgid);
  sFriending.friendshipFeeds(my_id, function(err, response){
    res.json({"error": err, "message": response});
  });
}
function partnershipFeeds ( req , res , next ) { var my_id = mongoose . Types . ObjectId ( req . body . decoded_token . orgid ) ; sFriending . friendshipFeeds ( my_id , function ( err , response ) { res . json ( { "error" : err , "message" : response } ) ; } ) ; }
Get friendship notifications
 @param null
Get friendship notifications @param null