You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Fact]
public void Test()
{
var github = new GitHubClient(new ProductHeaderValue("MyApp"));
var events = github.Activity.Events.GetUserPerformed("myuser").Result;
}
I get a casting exception because the first event that is returned as JSON has an id value which contains surrounding speech marks, and when it tries to populate the integer Id property of the Activity type, the exception occurs.
The text was updated successfully, but these errors were encountered:
When I run the following unit test:
I get a casting exception because the first event that is returned as JSON has an id value which contains surrounding speech marks, and when it tries to populate the integer Id property of the Activity type, the exception occurs.
The text was updated successfully, but these errors were encountered: