update
This commit is contained in:
@@ -20,7 +20,7 @@ import (
|
||||
// NOTE: Any future field additions in messages.AddItem that affect pricing / tax
|
||||
// must keep this handler in sync.
|
||||
|
||||
func AddItem(g *CartGrain, m *messages.AddItem) error {
|
||||
func (c *CartMutationContext) AddItem(g *CartGrain, m *messages.AddItem) error {
|
||||
if m == nil {
|
||||
return fmt.Errorf("AddItem: nil payload")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user