T his controller is in charge of handling requests relating to users follow system
Methods
# static addNotificationToFollowersOf(userId, notification, popupText)
Parameters:
Name | Type | Description |
---|---|---|
userId |
* | Posting user |
notification |
* | notification data to post |
popupText |
* | Text content of popup notification |
# static handleFollowRequest(req, res)
Parameters:
Name | Type | Description |
---|---|---|
req |
* | contains follow action type and data for that action |
res |
* |