mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-02-11 18:10:17 +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) {
|
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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user