Browse Source

Merge pull request #14042 from Chocobo1/array

Fix wrong JSON type returned
adaptive-webui-19844
Mike Tzou 4 years ago committed by GitHub
parent
commit
ae48e49cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/api/torrentscontroller.cpp

2
src/webui/api/torrentscontroller.cpp

@ -272,7 +272,7 @@ void TorrentsController::infoAction() @@ -272,7 +272,7 @@ void TorrentsController::infoAction()
if (torrentList.isEmpty())
{
setResult(QJsonObject {});
setResult(QJsonArray {});
return;
}

Loading…
Cancel
Save