Revert media status to OK

This commit is contained in:
2023-05-11 09:04:39 +10:00
parent 42706de9df
commit 2c8ac1f155
3 changed files with 6 additions and 6 deletions

View File

@@ -167,7 +167,7 @@ class StoreUploadedFileJob implements ShouldQueue
unlink($this->uploadedFilePath);
}
$this->media->status = '';
$this->media->status = 'OK';
$this->media->save();
} catch (\Exception $e) {
Log::error($e->getMessage());