Skip to content

Commit

Permalink
allow null values for fromBotId and toBotId params (#6626)
Browse files Browse the repository at this point in the history
Co-authored-by: JhontSouth <jhonatan.sandoval@southworks.com>
  • Loading branch information
ceciliaavila and JhontSouth authored May 11, 2023
1 parent 0da46de commit c09099a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public BotFrameworkClientImpl(

public async override Task<InvokeResponse<T>> PostActivityAsync<T>(string fromBotId, string toBotId, Uri toUrl, Uri serviceUrl, string conversationId, Activity activity, CancellationToken cancellationToken = default)
{
_ = fromBotId ?? throw new ArgumentNullException(nameof(fromBotId));
_ = toBotId ?? throw new ArgumentNullException(nameof(toBotId));
fromBotId = fromBotId ?? string.Empty;
toBotId = toBotId ?? string.Empty;
_ = toUrl ?? throw new ArgumentNullException(nameof(toUrl));
_ = serviceUrl ?? throw new ArgumentNullException(nameof(serviceUrl));
_ = conversationId ?? throw new ArgumentNullException(nameof(conversationId));
Expand Down

0 comments on commit c09099a

Please sign in to comment.