import missing logger interface

Signed-off-by: binsky <timo@binsky.org>
This commit is contained in:
binsky 2021-10-29 16:35:43 +02:00
parent 301572ac5d
commit 83bdd935af
2 changed files with 6 additions and 1 deletions

View file

@ -16,15 +16,18 @@ use OCP\AppFramework\ApiController;
use OCP\AppFramework\Db\DoesNotExistException;
use OCP\AppFramework\Http\JSONResponse;
use OCP\IRequest;
use Psr\Log\LoggerInterface;
class FileController extends ApiController {
private $userId;
private $fileService;
private $logger;
public function __construct($AppName,
IRequest $request,
$UserId,
FileService $fileService) {
FileService $fileService,
LoggerInterface $logger) {
parent::__construct(
$AppName,
$request,
@ -33,6 +36,7 @@ class FileController extends ApiController {
86400);
$this->userId = $UserId;
$this->fileService = $fileService;
$this->logger = $logger;
}

View file

@ -22,6 +22,7 @@ use OCP\AppFramework\ApiController;
use OCP\AppFramework\Db\DoesNotExistException;
use OCP\AppFramework\Http\JSONResponse;
use OCP\IRequest;
use Psr\Log\LoggerInterface;
class VaultController extends ApiController {