@@ -29,6 +29,8 @@ public class AuthInterceptor implements Interceptor {
}
public boolean checkAuth(JSONObject requestJsonObj) {
+ if (requestJsonObj == null) return false;
+
JSONObject authObj = requestJsonObj.getJSONObject("auth");
if (authObj == null) return false;