more changes
This commit is contained in:
@@ -29,6 +29,9 @@ func (c *CartMutationContext) RemoveItem(g *CartGrain, m *messages.RemoveItem) e
|
||||
if m == nil {
|
||||
return fmt.Errorf("RemoveItem: nil payload")
|
||||
}
|
||||
if g.PaymentInProgress > 0 {
|
||||
return ErrPaymentInProgress
|
||||
}
|
||||
targetID := uint32(m.Id)
|
||||
|
||||
index := -1
|
||||
|
||||
Reference in New Issue
Block a user