@veritree/services 2.35.2-0 → 2.35.3-0

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.35.2-0",
3
+ "version": "2.35.3-0",
4
4
  "description": "A collection of javascript functions/services to talk to veritree API",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -83,8 +83,7 @@ export default class Api {
83
83
  }
84
84
 
85
85
  async single(id, args) {
86
- const params = this.args ? this.getUrlParams(args) : '';
87
- const url = `${this.getUrl(id)}${params}`;
86
+ const url = `${this.getUrl(id)}${this.getUrlParams(args)}`;
88
87
  return await this.get(url);
89
88
  }
90
89