Changed api response "result" to "data"
This commit is contained in:
@@ -45,7 +45,7 @@ namespace raven_integration
|
||||
//Put this in when having concurrency issue during auth and old style dl token creation during login
|
||||
ValidateDataReturnResponseOk(a);
|
||||
|
||||
authDict[login] = a.ObjectResponse["result"]["token"].Value<string>();
|
||||
authDict[login] = a.ObjectResponse["data"]["token"].Value<string>();
|
||||
}
|
||||
return authDict[login];
|
||||
}
|
||||
@@ -253,7 +253,7 @@ namespace raven_integration
|
||||
}
|
||||
|
||||
a.ObjectResponse["error"].Should().BeNull("because there should not be an error on an api call, error was: {0}", ErrorMessage);
|
||||
a.ObjectResponse["result"].Should().NotBeNull("A result should be returned");
|
||||
a.ObjectResponse["data"].Should().NotBeNull("A result should be returned");
|
||||
}
|
||||
|
||||
public static void ValidateNoErrorInResponse(ApiResponse a)
|
||||
|
||||
Reference in New Issue
Block a user