const usage

This commit is contained in:
Yuri Kuznetsov
2024-11-11 16:04:47 +02:00
parent 8d76eda198
commit 9e396b43a8
53 changed files with 147 additions and 104 deletions
@@ -29,6 +29,7 @@
namespace Espo\Controllers;
use Espo\Core\Name\Field;
use Espo\Tools\Notification\RecordService as Service;
use Espo\Core\Api\Request;
@@ -70,7 +71,7 @@ class Notification extends RecordBase
->withWhereAdded(
WhereItem
::createBuilder()
->setAttribute('createdAt')
->setAttribute(Field::CREATED_AT)
->setType(WhereItem\Type::AFTER)
->setValue($after)
->build()