EmptyCart bug fix (#289)

This commit is contained in:
Megan O'Keefe 2020-02-06 15:36:26 -08:00 committed by GitHub
parent 53f2528094
commit 9133fdc043
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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;
} }