Fix reference to @key in log expression.

This commit is contained in:
Shane Kilkelly 2016-08-31 09:34:20 +01:00
parent 4a76fcd13b
commit 1399ee4689

View file

@ -11,7 +11,7 @@ module.exports =
messageOpts =
groupName: licence.name
subscription_id: licence.subscription_id
logger.log user_id:user._id, key:key, "creating notification key for user"
logger.log user_id:user._id, key: @key, "creating notification key for user"
NotificationsHandler.createNotification user._id, @key, "notification_group_invite", messageOpts, null, callback
read: (callback = ->)->