Skip to content

Commit

Permalink
Updated both files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed-MSFT committed Mar 18, 2024
1 parent 78bbe18 commit 50687f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@
<p>
<div>
<label for="domainChoice">Select the data center Region you would like to set: </label>
@* Added defects to check automation flow *@

@* <select id="domainChoice" name="domainChoice">
<select id="domainChoice" name="domainChoice">
<option value="" selected="selected">(Select a region)</option>
@foreach (var item in Model.regionDomains)
{
<option value="@item.region">@( item.country + " - " + item.region)</option>
}
</select> *@
</select>
</div>
</p>

Expand Down
4 changes: 0 additions & 4 deletions samples/bot-file-upload/csharp/Bots/TeamsFileUploadBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ private async Task FileUploadCompletedAsync(ITurnContext turnContext, FileConsen
ContentUrl = fileConsentCardResponse.UploadInfo.ContentUrl,
};


// var reply = MessageFactory.Text($"<b>File uploaded.</b> Your file <b>{fileConsentCardResponse.UploadInfo.Name}</b> is ready to download");
// Added defects to check automation flow

var reply = MessageFactory.Text($"<b>File uploaded.</b> Your file <b>{fileConsentCardResponse.UploadInfo.Name}</b> is ready to download");
reply.TextFormat = "xml";
reply.Attachments = new List<Attachment> { asAttachment };
Expand Down

0 comments on commit 50687f8

Please sign in to comment.