From 25ebb4c5a361b64bcb6ba72ba10b47b4e5263fc0 Mon Sep 17 00:00:00 2001 From: Maxwell Chow Date: Tue, 10 Nov 2015 20:46:17 -0800 Subject: [PATCH] Fixed error on getNotifications --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index d50c829..a2cd74a 100644 --- a/index.js +++ b/index.js @@ -213,6 +213,7 @@ SteamCommunity.prototype.parentalUnlock = function(pin, callback) { }; SteamCommunity.prototype.getNotifications = function(callback) { + var self = this; this.request.get("https://steamcommunity.com/actions/RefreshNotificationArea", function(err, response, body) { if(self._checkHttpError(err, response, callback)) { return;