More TIC processing fixes

This commit is contained in:
2023-09-05 21:57:34 +12:00
parent 63a9c06fb0
commit 6498e364fb
4 changed files with 24 additions and 9 deletions

View File

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