From ba8e06dff6e7d788e4b20dc051e5215005d83758 Mon Sep 17 00:00:00 2001 From: Chris Tremblay Date: Fri, 3 Nov 2023 16:24:29 -0400 Subject: [PATCH] updates --- .../com/chtrembl/petstoreassistant/service/AzurePetStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/AzurePetStore.java b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/AzurePetStore.java index 970b8f3b..9a95ace8 100644 --- a/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/AzurePetStore.java +++ b/petstore/petstoreassistant/src/main/java/com/chtrembl/petstoreassistant/service/AzurePetStore.java @@ -49,7 +49,7 @@ public DPResponse updateCart(AzurePetStoreSessionInfo azurePetStoreSessionInfo, dpResponse.setDpResponseText("I just added the " + this.cosmosDB.getCachedProducts().get(productId).getName() - + " to your cart."); + + " to your cart. "+azurePetStoreSessionInfo.getSessionID()+"|"+azurePetStoreSessionInfo.getCsrfToken()); dpResponse.setUpdateCart(true); } catch (Exception e) { @@ -57,7 +57,7 @@ public DPResponse updateCart(AzurePetStoreSessionInfo azurePetStoreSessionInfo, + azurePetStoreSessionInfo.getSessionID() + " " + e.getMessage()); dpResponse.setDpResponseText("I'm sorry, I wasn't able to add the " + this.cosmosDB.getCachedProducts().get(productId).getName() - + " to your cart."); + + " to your cart. "+azurePetStoreSessionInfo.getSessionID()+"|"+azurePetStoreSessionInfo.getCsrfToken()); } return dpResponse;