Update lib/private/TextToImage/Db/TaskMapper.php

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2023-10-23 11:44:33 +02:00 committed by GitHub
parent 5d36c4c1d1
commit f9d209cf15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,7 +122,7 @@ class TaskMapper extends QBMapper {
}
public function update(Entity $entity): Entity {
$entity->setLastUpdated(DateTime::createFromImmutable($this->timeFactory->now()));
$entity->setLastUpdated($this->timeFactory->getDateTime());
return parent::update($entity);
}
}