Fix for bug introduced in previous commit, where tic files where queued without the address prefix

This commit is contained in:
2023-09-05 20:41:41 +12:00
parent 3cd0deada0
commit 63a9c06fb0
5 changed files with 15 additions and 8 deletions

View File

@@ -57,11 +57,11 @@ class TicProcess implements ShouldQueue
public function handle()
{
$to = new Tic;
$to->load($this->file);
$to->load(storage_path('app').$this->file);
Log::info(sprintf('%s:Processed [%s] storing [%s] as id [%d]',self::LOGKEY,$this->file,$to->fo->file,$to->fo->id));
unlink($this->file);
unlink(storage_path('app').$this->file);
if ($to->isNodelist())
NodelistImport::dispatch($to->fo,$this->domain);