Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chtrembl committed Nov 3, 2023
1 parent c3330f4 commit ba8e06d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ 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) {
LOGGER.error("Error updating cart with product id: " + productId + " for session id: "
+ 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;
Expand Down

0 comments on commit ba8e06d

Please sign in to comment.