From 1328b856239cc038484eec0b7bbfa1b9a65a6467 Mon Sep 17 00:00:00 2001 From: masakih Date: Sun, 23 Oct 2016 00:16:30 +0900 Subject: [PATCH] =?utf8?q?HMFailedCommand=E3=81=8C=E7=94=9F=E6=88=90?= =?utf8?q?=E3=81=95=E3=82=8C=E3=81=AA=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE?= =?utf8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- KCD/HMJSONCommand.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KCD/HMJSONCommand.m b/KCD/HMJSONCommand.m index 3a4cc2fb..6f825cd2 100644 --- a/KCD/HMJSONCommand.m +++ b/KCD/HMJSONCommand.m @@ -53,7 +53,7 @@ static NSMutableArray *registeredCommands = nil; { HMJSONCommand *command = nil; - if(!apiResult.json) { + if(!apiResult.success) { command = [HMFailedCommand new]; command.api = apiResult.api; command.arguments = apiResult.parameter; -- 2.11.0