Merge pull request #9 from shaunidiot/patch-1

Spelling error
This commit is contained in:
Alexander Corn 2015-11-09 23:30:02 -05:00
commit c67e2e04f1

View File

@ -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"));