Skip to content

Commit 149387a

Browse files
committed
Recover from revert on objectService
1 parent 07918db commit 149387a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Service/ObjectService.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use OCP\App\IAppManager;
1313
use OCP\AppFramework\Db\DoesNotExistException;
1414
use OCP\AppFramework\Db\MultipleObjectsReturnedException;
15+
use OCP\IURLGenerator;
1516
use Psr\Container\ContainerExceptionInterface;
1617
use Psr\Container\NotFoundExceptionInterface;
1718
use Symfony\Component\Uid\Uuid;
@@ -34,6 +35,8 @@ class ObjectService
3435
/** @var string $appName The name of the app */
3536
private string $appName;
3637

38+
private ValidationService $validationService;
39+
3740
/**
3841
* Constructor for ObjectService.
3942
*
@@ -59,8 +62,11 @@ public function __construct(
5962
private ContainerInterface $container,
6063
private readonly IAppManager $appManager,
6164
private readonly IAppConfig $config,
65+
IURLGenerator $urlGenerator,
6266
) {
6367
$this->appName = 'opencatalogi';
68+
69+
$this->validationService = new ValidationService(objectService: $this, urlGenerator: $urlGenerator);
6470
}
6571

6672
/**

0 commit comments

Comments
 (0)