arky-sdk 0.3.145 → 0.3.146

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.
package/dist/index.cjs CHANGED
@@ -1512,9 +1512,10 @@ var createWorkflowApi = (apiConfig) => {
1512
1512
  },
1513
1513
  async getWorkflows(params, options) {
1514
1514
  const businessId = params?.businessId || apiConfig.businessId;
1515
+ const { businessId: _, ...queryParams } = params || {};
1515
1516
  return apiConfig.httpClient.get(`/v1/businesses/${businessId}/workflows`, {
1516
1517
  ...options,
1517
- params
1518
+ params: Object.keys(queryParams).length > 0 ? queryParams : void 0
1518
1519
  });
1519
1520
  }
1520
1521
  };