This commit is contained in:
matst80
2025-11-27 12:14:09 +01:00
parent 400079ec98
commit 51d7de03d6
7 changed files with 67 additions and 11 deletions

View File

@@ -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")
}