From b4de003b3c0014035d3ef51b4609589fa896ed85 Mon Sep 17 00:00:00 2001 From: Alexander Balashov Date: Fri, 17 Dec 2021 18:02:19 +0200 Subject: [PATCH] fixed when tagDef contain more than one tag --- lib/Api/AccountApi.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Api/AccountApi.php b/lib/Api/AccountApi.php index e7343c5..10827b0 100644 --- a/lib/Api/AccountApi.php +++ b/lib/Api/AccountApi.php @@ -2568,9 +2568,8 @@ protected function deleteAccountTagsRequest($accountId, $xKillbillCreatedBy, $ta // query params if (is_array($tagDef)) { - $tagDef = ObjectSerializer::serializeCollection($tagDef, /*'multi'*/'csv', true); - } - if ($tagDef !== null) { + $queryParams['tagDef'] = $tagDef; + } elseif ($tagDef !== null) { $queryParams['tagDef'] = ObjectSerializer::toQueryValue($tagDef); } // header params