From 9d2b5ade67922408c0b4b24c083020210d4a0655 Mon Sep 17 00:00:00 2001 From: Alexander Corn Date: Mon, 26 Oct 2015 21:30:27 -0400 Subject: [PATCH] Fixed scheduleGroupEvent method Fixes #7 --- components/groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/groups.js b/components/groups.js index 29e947c..f2eed5d 100644 --- a/components/groups.js +++ b/components/groups.js @@ -203,7 +203,7 @@ SteamCommunity.prototype.scheduleGroupEvent = function(gid, name, type, descript var self = this; this.request.post({ - "uri": "https://steamcommunity.com/gid/" + this.steamID.toString() + "/eventEdit", + "uri": "https://steamcommunity.com/gid/" + gid.toString() + "/eventEdit", "form": form }, function(err, response, body) { if(!callback) {