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

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.
@@ -1910,8 +1910,8 @@ class EtsyClient {
1910
1910
  async updateListingProperty(params) {
1911
1911
  const { shopId, listingId, propertyId, valueIds, values, scaleId } = params;
1912
1912
  const body = new URLSearchParams();
1913
- valueIds.forEach(id => body.append('value_ids', id.toString()));
1914
- values.forEach(val => body.append('values', val));
1913
+ body.append('value_ids', valueIds.map(id => id.toString()).join(','));
1914
+ body.append('values', values.join(','));
1915
1915
  if (scaleId !== undefined) {
1916
1916
  body.append('scale_id', scaleId.toString());
1917
1917
  }