Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix codeclimate issues
Unknownd0b1d03b7a27
diff --git a/saleor/graphql/payment/mutations.py b/saleor/graphql/payment/mutations.pyindex 200b5cec33..55821d6e53 100644--- a/saleor/graphql/payment/mutations.py+++ b/saleor/graphql/payment/mutations.py@@ -7,8 +7,7 @@ from graphql_jwt.decorators import permission_requiredfrom ...core.utils.taxes import get_taxes_for_addressfrom ...payment import PaymentErrorfrom ...payment.utils import (- create_payment,- gateway_authorize, gateway_capture, gateway_charge,+ create_payment, gateway_authorize, gateway_capture, gateway_charge,gateway_refund, gateway_void)from ..account.i18n import I18nMixinfrom ..account.types import AddressInputdiff --git a/saleor/graphql/payment/schema.py b/saleor/graphql/payment/schema.pyindex 0e95df091a..a199dff92e 100644--- a/saleor/graphql/payment/schema.py+++ b/saleor/graphql/payment/schema.py@@ -3,8 +3,8 @@ from graphql_jwt.decorators import permission_requiredfrom ..core.fields import PrefetchingConnectionFieldfrom .mutations import (- PaymentAuthorize, PaymentCapture, PaymentCharge,- PaymentRefund, PaymentVoid)+ PaymentAuthorize, PaymentCapture, PaymentCharge, PaymentRefund,+ PaymentVoid)from .resolvers import resolve_payment_client_token, resolve_paymentsfrom .types import Payment, PaymentGatewayEnum