mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03: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())
|
if (torrentList.isEmpty())
|
||||||
{
|
{
|
||||||
setResult(QJsonObject {});
|
setResult(QJsonArray {});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue