linuxserver / Heimdall-Apps

Apps for Heimdall
MIT License
299 stars 326 forks source link

Update execute(...) call use correct argument types in Qbittorrent #565

Closed m-triassi closed 1 year ago

m-triassi commented 1 year ago

Description

Closes #564

Adjusts call to parent::execute() to pass null as the third argument, rather than false. This prevents a TypeError from being thrown when ever the application attempts to pull live stats or test the API connection.

blacktide082 commented 1 year ago

I can also confirm this works, as I've applied this same fix to my local instances. You can also use [] instead of null as the third parameter, since an array is expected.