Skip to content

Commit

Permalink
fix scoping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Ye committed May 2, 2016
1 parent 592b69b commit 2d6fa7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fb.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class FBMessenger extends Adapter
res.send 400

@robot.router.post [@routeURL], (req, res) ->
@robot.logger.debug "Received payload: " + JSON.stringify(req.body)
self.robot.logger.debug "Received payload: " + JSON.stringify(req.body)
messaging_events = req.body.entry[0].messaging
self._receiveAPI event for event in messaging_events
res.send 200
Expand Down

0 comments on commit 2d6fa7c

Please sign in to comment.