mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-02-06 14:34:49 +08:00
Convert the number to a string
This commit is contained in:
parent
91285ba1c7
commit
e2f94cb1e7
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user