fix build

This commit is contained in:
Martin Rotter 2023-12-15 12:13:01 +01:00
parent 374eaf9668
commit 43d164dc40
1 changed files with 2 additions and 1 deletions

View File

@ -145,7 +145,8 @@ ApiResponse ApiServer::processMarkArticles(const QJsonValue& req) const {
for (const QJsonValue& article_val : data.value(QSL("articles")).toArray()) {
QJsonObject article_obj = article_val.toObject();
articles_per_accounts[article_obj.value(QSL("accountId")).toInt()].append(article_obj.value(QSL("article_custom_id")).toString();
articles_per_accounts[article_obj.value(QSL("accountId")).toInt()]
.append(article_obj.value(QSL("article_custom_id")).toString());
}
ApiResponse resp(ApiResponse::Result::Success, ApiRequest::Method::MarkArticles);