Convert the number to a string

This commit is contained in:
Jarzon 2017-03-15 12:55:48 -04:00
parent 91285ba1c7
commit e2f94cb1e7

View File

@ -562,8 +562,7 @@ SteamCommunity.prototype.getAllGroupComments = function(gid, from, count, callba
SteamCommunity.prototype.deleteGroupComment = function(gid, cid, callback) { SteamCommunity.prototype.deleteGroupComment = function(gid, cid, callback) {
if(Number.isInteger(cid)) { if(Number.isInteger(cid)) {
callback(new Error("Pass the comment id as a string")); cid = cid.toString();
return;
} }
var options = { var options = {