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