@veritree/services 2.29.0 → 2.29.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veritree/services",
3
- "version": "2.29.0",
3
+ "version": "2.29.2",
4
4
  "description": "A collection of javascript functions/services to talk to veritree API",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -54,7 +54,7 @@ class SponsorsApi extends Api {
54
54
  };
55
55
 
56
56
  const credentials = async (orgId, data) => {
57
- const url = `${this.getUrl()}/${orgId}/cms/credentials`;
57
+ const url = `${this.getUrl()}/${orgId}/cms/credentials${urlParams}`;
58
58
  return await this.post(url, data);
59
59
  };
60
60
 
@@ -234,12 +234,12 @@ export default class Api {
234
234
  // and for that, we can't use the org id and type in
235
235
  // the session.
236
236
  if (isOrgIdAs) {
237
- this.orgId = `org_id=${argsClone.org_id_as}`;
237
+ this.orgId = argsClone.org_id_as;
238
238
  delete argsClone.org_id_as;
239
239
  }
240
240
 
241
241
  if (isOrgTypeAs) {
242
- this.orgType = `&org_type=${argsClone.org_type_as}`;
242
+ this.orgType = argsClone.org_type_as;
243
243
  delete argsClone.org_type_as;
244
244
  }
245
245