Skip to content

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

Remove unused type-ignore

Ania Warzecha5b55148e9292
diff --git a/saleor/graphql/payment/schema.py b/saleor/graphql/payment/schema.py
index 21e91c6400..82a3a63550 100644
--- a/saleor/graphql/payment/schema.py
+++ b/saleor/graphql/payment/schema.py
@@ -101,8 +101,8 @@ class PaymentQueries(graphene.ObjectType):
if token:
return resolve_transaction(info, str(token))
_, id = from_global_id_or_error(
- global_id=id, only_type=TransactionItem, raise_error=True
- ) # type: ignore[arg-type]
+ global_id=str(id), only_type=TransactionItem, raise_error=True
+ )
return resolve_transaction(info, id)