Browse Source

Fix wrong JSON type returned

Fix up 78638a15be.
Closes #14041.
adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
423983e023
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/webui/api/torrentscontroller.cpp

2
src/webui/api/torrentscontroller.cpp

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

Loading…
Cancel
Save