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

@@ -58,7 +58,7 @@ class MoveMediaJob implements ShouldQueue
return;
}
$this->media->status = 'moving file';
$this->media->status = 'Moving file';
$this->media->save();
$files = ["/{$this->media->name}"];
@@ -78,7 +78,7 @@ class MoveMediaJob implements ShouldQueue
// Update the media model with the new storage and save it to the database
$this->media->storage = $this->newStorage;
$this->media->status = '';
$this->media->status = 'OK';
$this->media->save();
}
}