Skip to content

Commit 3251b65

Browse files
committed
getStatus is now namespaced
- Change getStatus to use the `http` axios instance. The `getStatus()` method was previously using the `rootHttp` instance instead of `http`. This means `getStatus` was always returning status for the default namespace, instead of the namespace provided to the firefly client. Signed-off-by: Alex Shorsher <[email protected]>
1 parent da16368 commit 3251b65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/firefly.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default class FireFly extends HttpBase {
7777
private queue = Promise.resolve();
7878

7979
async getStatus(options?: FireFlyGetOptions): Promise<FireFlyStatusResponse> {
80-
const response = await this.rootHttp.get<FireFlyStatusResponse>('/status', mapConfig(options));
80+
const response = await this.http.get<FireFlyStatusResponse>('/status', mapConfig(options));
8181
return response.data;
8282
}
8383

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hyperledger/firefly-sdk",
3-
"version": "1.1.11",
3+
"version": "1.1.12",
44
"description": "Client SDK for Hyperledger FireFly",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)