We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22687c6 commit 0e7c47bCopy full SHA for 0e7c47b
tools/code/common/Http.cs
@@ -20,7 +20,7 @@ public static async IAsyncEnumerable<JsonObject> ListJsonObjects(this HttpPipeli
20
21
while (nextLink is not null)
22
{
23
- var responseJson = await pipeline.GetJsonObject(uri, cancellationToken);
+ var responseJson = await pipeline.GetJsonObject(nextLink, cancellationToken);
24
25
var values = responseJson.TryGetJsonArrayProperty("value")
26
.Map(jsonArray => jsonArray.Choose(node => node as JsonObject))
@@ -86,4 +86,4 @@ private static Response Validate(this Response response)
86
? throw new InvalidOperationException($"HTTP request to URI failed with status code {response.Status}. Content is '{response.Content}'.")
87
: response;
88
}
89
-}
+}
0 commit comments