diff --git a/src/PassGenerator.php b/src/PassGenerator.php index 206108a..e635c29 100644 --- a/src/PassGenerator.php +++ b/src/PassGenerator.php @@ -310,7 +310,7 @@ public static function getPass(string $passId) public function getPassFilePath(string $passId) { if (Storage::disk('passgenerator')->exists($passId . '.pkpass')) { - return $this->passRealPath . '/../' . $this->passFilename; + return Storage::disk('passgenerator')->path($passId . '.pkpass'); } return false;