mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Merge pull request #14042 from Chocobo1/array
Fix wrong JSON type returned
This commit is contained in:
commit
ae48e49cba
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ void TorrentsController::infoAction()
|
|||
|
||||
if (torrentList.isEmpty())
|
||||
{
|
||||
setResult(QJsonObject {});
|
||||
setResult(QJsonArray {});
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue