mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-26 04:11:02 +00:00
feat: add get-sedding endpoint
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user