From 8019a3f9a7898d3a1903dfa6a6fe300b59c09be5 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Thu, 21 Jan 2021 01:45:00 +0100 Subject: [PATCH] Fast Log add tenant --- app/Helper/Access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helper/Access.php b/app/Helper/Access.php index c26c70b..3ac1653 100644 --- a/app/Helper/Access.php +++ b/app/Helper/Access.php @@ -14,7 +14,7 @@ class Access { throw new \Exception("Invalide Typ for Access Log"); } - $this->addAccessLog($image->tenant, null, $image->id, $typ, $file->getSize()); + $this->addAccessLog($image->tenant, $image->gallery, $image->id, $typ, $file->getSize()); } public function addById(int $image_id, File $file, string $typ) {