Handle NoContent response for queued operations

We didn't handle the 204 response properly for the `StatisticsClient`.
Now we do.

Fixes #836
This commit is contained in:
Haacked
2015-08-07 10:41:02 -07:00
parent 0811d4cfd3
commit 0e74097dde
7 changed files with 69 additions and 24 deletions
+2 -2
View File
@@ -262,6 +262,6 @@ namespace Octokit
/// <param name="cancellationToken">A token used to cancel this potentially long running request</param>
/// <returns>The updated API resource.</returns>
/// <exception cref="ApiException">Thrown when an API error occurs.</exception>
Task<T> GetQueuedOperation<T>(Uri uri,CancellationToken cancellationToken);
Task<T> GetQueuedOperation<T>(Uri uri, CancellationToken cancellationToken);
}
}
}