From 83eeb0f19020d039513f1610adb402774bf846f6 Mon Sep 17 00:00:00 2001 From: Shaun Date: Tue, 10 Nov 2015 12:29:23 +0800 Subject: [PATCH] Spelling error --- components/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/users.js b/components/users.js index c749f50..fb96743 100644 --- a/components/users.js +++ b/components/users.js @@ -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"));