add giftcards
This commit is contained in:
@@ -72,6 +72,12 @@ func NewCartMultationRegistry() actor.MutationRegistry {
|
||||
actor.NewMutation(CreateCheckoutOrder, func() *messages.CreateCheckoutOrder {
|
||||
return &messages.CreateCheckoutOrder{}
|
||||
}),
|
||||
actor.NewMutation(AddGiftcard, func() *messages.AddGiftcard {
|
||||
return &messages.AddGiftcard{}
|
||||
}),
|
||||
actor.NewMutation(RemoveGiftcard, func() *messages.RemoveGiftcard {
|
||||
return &messages.RemoveGiftcard{}
|
||||
}),
|
||||
)
|
||||
return reg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user