Skip to content

Commit 00e597b

Browse files
committed
address review comment
Signed-off-by: Chengxuan Xing <[email protected]>
1 parent 3a824d7 commit 00e597b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

lib/firefly.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ import {
7171
FireFlyVerifierResolveResponse,
7272
FireFlyTokenApprovalRequest,
7373
FireFlyNamespaceResponse,
74-
FireFlyNamespacesResponse,
7574
} from './interfaces';
7675
import { FireFlyWebSocket, FireFlyWebSocketCallback } from './websocket';
7776
import HttpBase, { mapConfig } from './http';
@@ -139,8 +138,8 @@ export default class FireFly extends HttpBase {
139138
return this.getOne<FireFlyNamespaceResponse>(`/namespaces/${name}`, undefined, options, true);
140139
}
141140

142-
getNamespaces(options?: FireFlyGetOptions): Promise<FireFlyNamespacesResponse[]> {
143-
return this.getMany<FireFlyNamespacesResponse[]>('/namespaces', undefined, options, true);
141+
getNamespaces(options?: FireFlyGetOptions): Promise<FireFlyNamespaceResponse[]> {
142+
return this.getMany<FireFlyNamespaceResponse[]>('/namespaces', undefined, options, true);
144143
}
145144

146145
getDatatypes(

lib/interfaces.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ export type FireFlyNamespaceResponse = Required<
6868
operations['getNamespace']['responses']['200']['content']['application/json']
6969
>;
7070

71-
export type FireFlyNamespacesResponse = Required<
72-
operations['getNamespaces']['responses']['200']['content']['application/json']
73-
>;
7471
// Network
7572

7673
export type FireFlyIdentityFilter = operations['getIdentities']['parameters']['query'];

0 commit comments

Comments
 (0)