polyapi 0.24.13 → 0.24.14

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.
@@ -78,8 +78,8 @@ const executeApiFunction = (id, clientID, polyCustom, requestArgs) => {
78
78
  let responseData = data.data;
79
79
  try {
80
80
  responseData = JSON.stringify(data.data);
81
- } catch (err) {}
82
- scrub(requestArgs)
81
+ } catch (err) {
82
+ requestArgs = scrub(requestArgs)
83
83
  console.error('Error executing api function with id:', id, 'Status code:', data.status, 'Request data:', scrubbedArgs, 'Response data:', responseData);
84
84
  }
85
85
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polyapi",
3
- "version": "0.24.13",
3
+ "version": "0.24.14",
4
4
  "description": "Poly is a CLI tool to help create and manage your Poly definitions.",
5
5
  "license": "MIT",
6
6
  "repository": {