change alot of id values
This commit is contained in:
@@ -100,7 +100,7 @@ type MutationContext struct {
|
||||
func main() {
|
||||
|
||||
controlPlaneConfig := actor.DefaultServerConfig()
|
||||
ctx := MutationContext{}
|
||||
|
||||
reg := actor.NewMutationRegistry()
|
||||
reg.RegisterMutations(
|
||||
actor.NewMutation(AddItem, func() *messages.AddItem {
|
||||
@@ -130,7 +130,7 @@ func main() {
|
||||
actor.NewMutation(ClearCart, func() *messages.ClearCartRequest {
|
||||
return &messages.ClearCartRequest{}
|
||||
}),
|
||||
actor.NewMutation(ctx.AddVoucher, func() *messages.AddVoucher {
|
||||
actor.NewMutation(AddVoucher, func() *messages.AddVoucher {
|
||||
return &messages.AddVoucher{}
|
||||
}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user