From e2f94cb1e751aa3fc483a503d02990be7f968f28 Mon Sep 17 00:00:00 2001 From: Jarzon Date: Wed, 15 Mar 2017 12:55:48 -0400 Subject: [PATCH] Convert the number to a string --- components/groups.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/groups.js b/components/groups.js index f4a56b2..1137c6f 100644 --- a/components/groups.js +++ b/components/groups.js @@ -562,8 +562,7 @@ SteamCommunity.prototype.getAllGroupComments = function(gid, from, count, callba SteamCommunity.prototype.deleteGroupComment = function(gid, cid, callback) { if(Number.isInteger(cid)) { - callback(new Error("Pass the comment id as a string")); - return; + cid = cid.toString(); } var options = {