mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
update code which produce error which last fix (._.);
This commit is contained in:
parent
09f583fc24
commit
9f2c0004c4
@ -192,7 +192,8 @@ void PendingTasksManager::checkForFinishedTasks(Poco::Timer& timer)
|
||||
auto json = transaction->getModel()->getResultJson();
|
||||
bool removeIt = false;
|
||||
if (!json.isNull()) {
|
||||
if (json->get("state").toString() == "success") {
|
||||
auto state = json->get("state");
|
||||
if (!state.isEmpty() && json->get("state").toString() == "success") {
|
||||
removeIt = true;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user