@profplum700/etsy-v3-api-client 2.5.2 → 2.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1401,11 +1401,7 @@ class EtsyClient {
1401
1401
  if (value === undefined || value === null)
1402
1402
  continue;
1403
1403
  if (Array.isArray(value)) {
1404
- for (const item of value) {
1405
- if (item === undefined || item === null)
1406
- continue;
1407
- body.append(key, String(item));
1408
- }
1404
+ body.append(key, value.filter(item => item !== undefined && item !== null).map(String).join(','));
1409
1405
  }
1410
1406
  else {
1411
1407
  body.append(key, String(value));