Skip to content

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

Drop deprecated errors field

Tomasz Szymanskiab8905b23f18
diff --git a/saleor/graphql/giftcard/mutations.py b/saleor/graphql/giftcard/mutations.py
index d9491427e9..ddfd4b13bd 100644
--- a/saleor/graphql/giftcard/mutations.py
+++ b/saleor/graphql/giftcard/mutations.py
@@ -375,7 +375,6 @@ class GiftCardResend(BaseMutation):
description = "Resend a gift card."
permissions = (GiftcardPermissions.MANAGE_GIFT_CARD,)
error_type_class = GiftCardError
- error_type_field = "gift_card_errors"
@classmethod
def clean_input(cls, data):
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index bed1c05686..af4eab395d 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -2391,7 +2391,6 @@ input GiftCardFilterInput {
type GiftCardResend {
giftCard: GiftCard
- giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use errors field instead. This field will be removed in Saleor 4.0.")
errors: [GiftCardError!]!
}