Changed api response "result" to "data"

This commit is contained in:
2018-11-07 16:05:21 +00:00
parent e2330974f6
commit 6c7376f2e8
27 changed files with 227 additions and 270 deletions

View File

@@ -37,11 +37,11 @@ namespace raven_integration
//there should be at least 1
((JArray)a.ObjectResponse["result"]).Count.Should().BeGreaterOrEqualTo(1);
((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterOrEqualTo(1);
//See if our job is in there
bool bFound=false;
foreach(JToken t in a.ObjectResponse["result"])
foreach(JToken t in a.ObjectResponse["data"])
{
if(t["gId"].Value<String>()==jobId)
bFound=true;