From 3c21047c15f7553b5927cc84bc0b1754785317d6 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 14 Sep 2019 11:15:42 -0400 Subject: [PATCH] Fix playback file path --- app/Console/Commands/AcarsReplay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/AcarsReplay.php b/app/Console/Commands/AcarsReplay.php index 76b5a600..e52e2f27 100644 --- a/app/Console/Commands/AcarsReplay.php +++ b/app/Console/Commands/AcarsReplay.php @@ -169,7 +169,7 @@ class AcarsReplay extends Command * @var $flights Collection */ $flights = collect($files)->transform(function ($f) { - $file = storage_path('/replay/'.$f.'.json'); + $file = $f; if (file_exists($file)) { $this->info('Loading '.$file); $contents = file_get_contents($file);