add set cart
Some checks failed
Build and Publish / BuildAndDeploy (push) Failing after 48s
Build and Publish / BuildAndDeployAmd64 (push) Failing after 13s

This commit is contained in:
matst80
2025-02-27 20:47:49 +01:00
parent 03123bac89
commit ce40af5bdb
5 changed files with 266 additions and 209 deletions

View File

@@ -236,7 +236,7 @@ func (c *CartGrain) HandleMessage(message *Message, isReplay bool) (*FrameWithPa
var err error
switch message.Type {
case SetCartItemsType:
msg, ok := message.Content.(*messages.SetCartItems)
msg, ok := message.Content.(*messages.SetCartRequest)
if !ok {
err = fmt.Errorf("expected SetCartItems")
} else {