Merge pull request #197 from gradido/login_15_04_2012

update code which produce error which last fix (._.);
This commit is contained in:
einhornimmond 2021-04-16 14:51:12 +02:00 committed by GitHub
commit ebd362f7b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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() && state.toString() == "success") {
removeIt = true;
}
}

@ -1 +1 @@
Subproject commit ff412f735667b30233c0ce00d461f209ac7dde7c
Subproject commit 924b51c87fea29d5aaf053af43251dab44c2eeb7