fix(file-uploads): validate chapters json content + remove permit_empty rule to uploaded files

refs #445
This commit is contained in:
Yassine Doghri 2024-03-01 11:32:26 +00:00
commit 6289c42b11
12 changed files with 792 additions and 891 deletions

View file

@ -218,7 +218,6 @@ class EpisodeModel extends UuidModel
/** @var LazyUuidFromString $uuid */
$uuid = $this->uuid->{$this->uuidVersion}();
// @phpstan-ignore-next-line
if (! $this->update($episodeId, [
'preview_id' => $uuid,
])) {