@closerplatform/spinner-openapi 0.12.1076 → 0.12.1077

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.
Files changed (2) hide show
  1. package/dist/api.js +4 -2
  2. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -11668,8 +11668,7 @@ const ProfanitiesApiFetchParamCreator = function (configuration) {
11668
11668
  if (orgId === null || orgId === undefined) {
11669
11669
  throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getProfanities.');
11670
11670
  }
11671
- const localVarPath = `/profanities/{orgId}`
11672
- .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
11671
+ const localVarPath = `/profanities`;
11673
11672
  const localVarUrlObj = url.parse(localVarPath, true);
11674
11673
  const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
11675
11674
  const localVarHeaderParameter = {};
@@ -11688,6 +11687,9 @@ const ProfanitiesApiFetchParamCreator = function (configuration) {
11688
11687
  : configuration.apiKey;
11689
11688
  localVarHeaderParameter["X-Fingerprint"] = localVarApiKeyValue;
11690
11689
  }
11690
+ if (orgId !== undefined) {
11691
+ localVarQueryParameter['orgId'] = orgId;
11692
+ }
11691
11693
  localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
11692
11694
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
11693
11695
  delete localVarUrlObj.search;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.1076",
3
+ "version": "0.12.1077",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [