Skip to content

Commit 085ebea

Browse files
committed
Fixing json property to fetch
SVN r64882 |2020-01-02 17:57:20 +0000
1 parent 1b24339 commit 085ebea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/org/labkey/remoteapi/domain/ListDomainsResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class ListDomainsResponse extends CommandResponse
2424
public ListDomainsResponse(String text, int statusCode, String contentType, JSONObject json, Command sourceCommand)
2525
{
2626
super(text, statusCode, contentType, json, sourceCommand);
27-
JSONArray domains = (JSONArray) json.get("domains");
27+
JSONArray domains = (JSONArray) json.get("data");
2828
for(Object domainJSON: domains)
2929
{
3030
_domains.add(new Domain((JSONObject) domainJSON));

0 commit comments

Comments
 (0)