Typo/bug in GetGroupHistory code.

Typo which makes group history objects to contain incorrect actor (it contains same actor as user).
This commit is contained in:
Julius 2017-08-08 21:52:12 +03:00 committed by GitHub
parent 03e0a1bdac
commit d7095aa7c5

View File

@ -494,7 +494,7 @@ SteamCommunity.prototype.getGroupHistory = function(gid, page, callback) {
sid.universe = SteamID.Universe.PUBLIC;
sid.type = SteamID.Type.INDIVIDUAL;
sid.instance = SteamID.Instance.DESKTOP;
sid.accountid = $(users[0]).data('miniprofile');
sid.accountid = $(users[1]).data('miniprofile');
data.actor = sid;
}