EmptyCart bug fix (#289)
This commit is contained in:
parent
53f2528094
commit
9133fdc043
2 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ namespace cartservice.cartstore
|
||||||
public Task EmptyCartAsync(string userId)
|
public Task EmptyCartAsync(string userId)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"EmptyCartAsync called with userId={userId}");
|
Console.WriteLine($"EmptyCartAsync called with userId={userId}");
|
||||||
userCartItems[userId] = emptyCart;
|
userCartItems[userId] = new Hipstershop.Cart();
|
||||||
|
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue