Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Update Constants.cs #992

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Web/Constants.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
namespace Microsoft.eShopWeb.Web;


public static class Constants
{
public const string BASKET_COOKIENAME = "eShop";
public const int ITEMS_PER_PAGE = 10;
public const string DEFAULT_USERNAME = "Guest";
public const string BASKET_ID = "BasketId";
public const string BASKET_NAME = "eShopnonWebApp";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that correct.? I feel the value has to be "eShopOnWebApp". Also, are we using this constant anywhere else in the codebase.?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah good question, it isn't used at all.

}
Loading