Commit b5539fc1 by TJBChris

Fixed a copy/pase error that caused vertices to be returned in edges

block of JSON
parent 9822e9c7
......@@ -138,7 +138,7 @@ public class MetadataDiscoveryResource {
response.put("vertices",new JSONObject(resultMap.get("vertices")));
}
if (resultMap.containsKey("edges")) {
response.put("edges",new JSONObject(resultMap.get("vertices")));
response.put("edges",new JSONObject(resultMap.get("edges")));
}
} catch (JSONException e) {
throw new WebApplicationException(
......
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