Module

FollowController

T his controller is in charge of handling requests relating to users follow system

View Source backend/controllers/followController.js, line 1

Methods

# static addNotificationToFollowersOf(userId, notification, popupText)

Parameters:
Name Type Description
userId * Posting user
notification * notification data to post
popupText * Text content of popup notification

View Source backend/controllers/followController.js, line 199

# static handleFollowRequest(req, res)

Parameters:
Name Type Description
req * contains follow action type and data for that action
res *

View Source backend/controllers/followController.js, line 41