mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-21 15:32:24 +08:00
commit
c67e2e04f1
@ -156,7 +156,7 @@ SteamCommunity.prototype.postUserComment = function(userID, message, callback) {
|
||||
|
||||
if(body.success) {
|
||||
callback(null);
|
||||
} else if(bpdy.error) {
|
||||
} else if(body.error) {
|
||||
callback(new Error(body.error));
|
||||
} else {
|
||||
callback(new Error("Unknown error"));
|
||||
|
Loading…
Reference in New Issue
Block a user