Skip to content

Commit 866b103

Browse files
authored
fix: update incorrect GetHostStatusResponse and GetHostsResponse (#108)
1 parent ca46ca2 commit 866b103

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/types.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface GetHostsResponse extends DefaultResponse {
3939
/**
4040
* host id - ddf084f5f3d7945597991008949ea7b51e6b3d93
4141
* ip address - 127.0.0.1
42-
* not sure? - 58846
42+
* port - 58846
4343
* status - "Online"
4444
*/
4545
result: Array<[string, string, number, string]>;
@@ -49,12 +49,10 @@ export type HostStatus = 'Online' | 'Offline' | 'Connected';
4949
export interface GetHostStatusResponse extends DefaultResponse {
5050
/**
5151
* host id - ddf084f5f3d7945597991008949ea7b51e6b3d93
52-
* ip address - 127.0.0.1
53-
* not sure? - 58846
5452
* status - "Online"
5553
* version - "1.3.15"
5654
*/
57-
result: [string, string, number, HostStatus, string];
55+
result: [string, HostStatus, string];
5856
}
5957

6058
export interface TorrentContentFile {

0 commit comments

Comments
 (0)