From fc2aed4725eab6e6fd3f6c9d7d7601cfbce81bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dro=C5=84?= Date: Tue, 14 Dec 2021 10:48:12 +0100 Subject: [PATCH] Fix attributeValueDelete mutation error - required first/last value (#1665) (#1679) --- src/attributes/utils/handlers.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/attributes/utils/handlers.ts b/src/attributes/utils/handlers.ts index 68d8b7438..3095adede 100644 --- a/src/attributes/utils/handlers.ts +++ b/src/attributes/utils/handlers.ts @@ -307,7 +307,8 @@ export const handleDeleteMultipleAttributeValues = async ( if (fileValueUnused) { return deleteAttributeValue({ - id: existingAttribute.values[0].id + id: existingAttribute.values[0].id, + firstValues: 20 }); } })