Changed api response "result" to "data"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user