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) {