🔧 Added more data to the return value of getClientInfo
This commit is contained in:
@@ -37,8 +37,14 @@ export default class QBittorrentService extends Service {
|
|||||||
getClientInfo: {
|
getClientInfo: {
|
||||||
rest: "GET /getClientInfo",
|
rest: "GET /getClientInfo",
|
||||||
handler: async (ctx: Context<{}>) => {
|
handler: async (ctx: Context<{}>) => {
|
||||||
return await this.meta.app.buildInfo();
|
console.log(this.meta.app);
|
||||||
},
|
return {
|
||||||
|
buildInfo: await this.meta.app.buildInfo(),
|
||||||
|
version: await this.meta.app.version(),
|
||||||
|
webAPIVersion: await this.meta.app.webapiVersion(),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {},
|
methods: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user