From 2df64e715e8dbdab436b8cf2814809922c9e2d2f Mon Sep 17 00:00:00 2001 From: matst80 Date: Tue, 14 Oct 2025 22:23:15 +0200 Subject: [PATCH] fix mutation --- cmd/cart/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/cart/main.go b/cmd/cart/main.go index 510e815..41ce388 100644 --- a/cmd/cart/main.go +++ b/cmd/cart/main.go @@ -133,6 +133,9 @@ func main() { actor.NewMutation(AddVoucher, func() *messages.AddVoucher { return &messages.AddVoucher{} }), + actor.NewMutation(RemoveVoucher, func() *messages.RemoveVoucher { + return &messages.RemoveVoucher{} + }), ) diskStorage := actor.NewDiskStorage[CartGrain]("data", reg) poolConfig := actor.GrainPoolConfig[CartGrain]{