Skip to content

Commit

Permalink
Operation Context added GetResult
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashank Narang committed Oct 11, 2024
1 parent 1f94b53 commit 41d7d78
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public OperationContext(HttpRequestMessage message)
Request = message;
properties = new Dictionary<string, string>();
headers = new HttpCustomHeaderCollection();
SetContentAsync(message).GetAwaiter();
SetContentAsync(message).GetAwaiter().GetResult();
}

/// <summary>
Expand All @@ -51,7 +51,7 @@ public OperationContext(HttpRequestMessage message, IHttpCustomHeaderCollection
Request = message;
properties = new Dictionary<string, string>();
this.headers = headers;
SetContentAsync(message).GetAwaiter();
SetContentAsync(message).GetAwaiter().GetResult();
}

/// <summary>
Expand Down

0 comments on commit 41d7d78

Please sign in to comment.