harvester_sdk 1.0.26 → 1.0.27
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/sdk.js +1 -1
- package/package.json +1 -1
- package/sdk.ts +2 -2
package/dist/sdk.js
CHANGED
package/package.json
CHANGED
package/sdk.ts
CHANGED
|
@@ -326,10 +326,10 @@ export class HarvesterSDK {
|
|
|
326
326
|
*/
|
|
327
327
|
async getDataCount(params?: GetDataParams): Promise<number> {
|
|
328
328
|
const queryParams = this.buildDataQueryParams(params);
|
|
329
|
-
const response = await this.client.get
|
|
329
|
+
const response = await this.client.get('/data/count', {
|
|
330
330
|
params: queryParams,
|
|
331
331
|
});
|
|
332
|
-
return response.data
|
|
332
|
+
return response.data;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
/**
|