diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-06-07 19:16:33 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-06-07 19:33:38 +0900 |
commit | 93f0c8fe89f448d1d58caa757573f17102369471 (patch) | |
tree | a3167587bef1a61c64b07fc1325d28a7bcd65069 /lib/csapi/search.cpp | |
parent | 10c4be59438ac614a01800fb44e351e7039fe6e6 (diff) | |
download | libquotient-93f0c8fe89f448d1d58caa757573f17102369471.tar.gz libquotient-93f0c8fe89f448d1d58caa757573f17102369471.zip |
Generated files in csapi/: switch from now-deprecated JsonParserError to IncorrectResponse
Diffstat (limited to 'lib/csapi/search.cpp')
-rw-r--r-- | lib/csapi/search.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/search.cpp b/lib/csapi/search.cpp index a5f83c79..ad2c34a3 100644 --- a/lib/csapi/search.cpp +++ b/lib/csapi/search.cpp @@ -164,7 +164,7 @@ BaseJob::Status SearchJob::parseJson(const QJsonDocument& data) { auto json = data.object(); if (!json.contains("search_categories"_ls)) - return { JsonParseError, + return { IncorrectResponse, "The key 'search_categories' not found in the response" }; fromJson(json.value("search_categories"_ls), d->searchCategories); return Success; |