Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update missing keyword in migration

Pacu296deaed165b2
diff --git a/saleor/payment/migrations/0002_transfer_payment_to_payment_method.py b/saleor/payment/migrations/0002_transfer_payment_to_payment_method.py
index 15698601cf..55e8a946eb 100644
--- a/saleor/payment/migrations/0002_transfer_payment_to_payment_method.py
+++ b/saleor/payment/migrations/0002_transfer_payment_to_payment_method.py
@@ -39,12 +39,14 @@ def get_is_active(status, payment):
return True
-def create_transaction(method, kind, created, amount, is_success, currency):
+def create_transaction(
+ method, kind, created, amount, is_success, currency, token):
return method.transactions.create(
created=created,
kind=kind,
is_success=is_success,
amount=amount,
+ token=token,
currency=currency,
gateway_response={})