Skip to content

Commit 74a698c

Browse files
committed
fix(ofrep): call ReadAsStreamAsync without cancellation token for netstandard compatibility
1 parent 1be13e9 commit 74a698c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/OpenFeature.Providers.Ofrep/Client/OfrepClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ private async Task<OfrepResponse<T>> ProcessOkResponseLegacyAsync<T>(string flag
550550
private static async Task<OfrepResponse<JsonElement>?> ReadRawResponseAsync(HttpResponseMessage response,
551551
CancellationToken cancellationToken)
552552
{
553-
using var responseStream = await response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
553+
using var responseStream = await response.Content.ReadAsStreamAsync().ConfigureAwait(false);
554554
return await JsonSerializer.DeserializeAsync(responseStream,
555555
OfrepJsonSerializerContext.Default.OfrepResponseJsonElement, cancellationToken)
556556
.ConfigureAwait(false);

0 commit comments

Comments
 (0)