Skip to content

Commit

Permalink
Update PetStoreAssistantBot.java
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Nov 8, 2023
1 parent 67218ef commit 130cffa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ protected CompletableFuture<Void> onMessageActivity(TurnContext turnContext) {
if(azurePetStoreSessionInfo != null)
{
text = azurePetStoreSessionInfo.getNewText();

sessionID = azurePetStoreSessionInfo.getSessionID();
csrfToken = azurePetStoreSessionInfo.getCsrfToken();


if (sessionID == null && csrfToken == null) {
// set the props
sessionIDProperty.set(turnContext, azurePetStoreSessionInfo.getSessionID()).join();
Expand Down

0 comments on commit 130cffa

Please sign in to comment.