add Ufls suggested change

This commit is contained in:
einhornimmond 2021-04-16 14:29:03 +02:00
parent 914613cf38
commit e98b351020

View File

@ -193,7 +193,7 @@ void PendingTasksManager::checkForFinishedTasks(Poco::Timer& timer)
bool removeIt = false;
if (!json.isNull()) {
auto state = json->get("state");
if (!state.isEmpty() && json->get("state").toString() == "success") {
if (!state.isEmpty() && state.toString() == "success") {
removeIt = true;
}
}