mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-01 07:43:33 +08:00
Pass a Error obj to the callback
This commit is contained in:
parent
f7ebe68bd8
commit
530bbcb9eb
@ -562,7 +562,8 @@ SteamCommunity.prototype.getAllGroupComments = function(gid, from, count, callba
|
||||
|
||||
SteamCommunity.prototype.deleteGroupComment = function(gid, cid, callback) {
|
||||
if(Number.isInteger(cid)) {
|
||||
callback("Pass the comment id as a string");
|
||||
callback(new Error("Pass the comment id as a string"));
|
||||
return;
|
||||
}
|
||||
|
||||
var options = {
|
||||
|
Loading…
Reference in New Issue
Block a user