Commit e3876eb7 by NGUYEN HOANG SON

set default reportStatus : 0

parent 635e8deb
......@@ -579,7 +579,7 @@ public class AcmsClient implements AcmsClientResponseListener {
// JSのコールバックに渡すために必要な情報をストックしておく(暫定的な実装 fixme )
if (apiUrl.contains(AcmsApis.ApiSendTaskData)) {
JSONObject res = new JSONObject(result.httpResponseBody);
int reportStatus = res.has(ReportStatus) ? res.getInt(ReportStatus) : 999;
int reportStatus = res.has(ReportStatus) ? res.getInt(ReportStatus) : 0;
String message = res.has(Message) ? res.getString(Message) : null;
ReportStatusLogic.TaskReportExtParam.stock(String.valueOf(reportStatus), message);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment