correct mutation
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
|||||||
messages "git.k6n.net/go-cart-actor/proto/checkout"
|
messages "git.k6n.net/go-cart-actor/proto/checkout"
|
||||||
)
|
)
|
||||||
|
|
||||||
func HandlePaymentCancelled(g *CheckoutGrain, m *messages.PaymentDeclined) error {
|
func HandlePaymentCancelled(g *CheckoutGrain, m *messages.CancelPayment) error {
|
||||||
|
|
||||||
payment, found := g.FindPayment(m.PaymentId)
|
payment, found := g.FindPayment(m.PaymentId)
|
||||||
if !found {
|
if !found {
|
||||||
|
|||||||
Reference in New Issue
Block a user