mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08:00
Merge pull request #14042 from Chocobo1/array
Fix wrong JSON type returned
This commit is contained in:
commit
ae48e49cba
@ -272,7 +272,7 @@ void TorrentsController::infoAction()
|
||||
|
||||
if (torrentList.isEmpty())
|
||||
{
|
||||
setResult(QJsonObject {});
|
||||
setResult(QJsonArray {});
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user