We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b8625d commit f15c5e6Copy full SHA for f15c5e6
src/Basket/Basket.API/Repositories/BasketRepository.cs
@@ -30,10 +30,10 @@ public async Task<BasketCart> GetBasket(string userName)
30
31
public async Task<BasketCart> UpdateBasket(BasketCart basket)
32
{
33
- var created = await _context
+ var updated = await _context
34
.Redis
35
.StringSetAsync(basket.UserName, JsonConvert.SerializeObject(basket));
36
- if (!created)
+ if (!updated)
37
38
return null;
39
}
0 commit comments