Untitled
unknown
plain_text
2 years ago
985 B
7
Indexable
private static JSONObject getAccountsForDomainWithoutDPP() {
JSONObject finalresponse = new JSONObject();
JSONObject response = new JSONObject();
JSONObject data = new JSONObject();
JSONObject responseInfo = new JSONObject();
if (true) {
if (false) {
data.put("isLargeUser", true);
} else {
data.put("isLargeUser", false);
data.put("accounts", "");
}
responseInfo.put("error", "null");
responseInfo.put("status", "Success");
} else {
responseInfo.put("error", "User not logged in");
responseInfo.put("status", "Failed");
}
response.put("data", data);
response.put("responseInfo", responseInfo);
//response.put("response",response);
//data.put("data", data);
finalresponse.put("response",response);
return finalresponse;
}Editor is loading...