Fixed missing 'var self = this;'

This commit is contained in:
Mole 2016-01-05 15:33:54 +01:00
parent 08c9ab6809
commit 6d8d0c5fbb

View File

@ -101,7 +101,8 @@ SteamCommunity.prototype.chatMessage = function(recipient, text, type, callback)
}
type = type || 'saytext';
var self = this;
this.request.post({
"uri": "https://api.steampowered.com/ISteamWebUserPresenceOAuth/Message/v1",
"form": {