mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: add get-sedding endpoint
This commit is contained in:
parent
e1a5a95ceb
commit
6295637b48
3 changed files with 48 additions and 13 deletions
|
|
@ -61,9 +61,9 @@ export class PythonInstance {
|
|||
}
|
||||
|
||||
public static async getSeedingList() {
|
||||
const response = await this.rpc.get<LibtorrentPayload>("/status");
|
||||
const response = await this.rpc.get<LibtorrentPayload>("/seed-list");
|
||||
|
||||
return response.data.seeding;
|
||||
return response.data;
|
||||
}
|
||||
|
||||
public static async getStatus() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue