We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6b693d commit eb189caCopy full SHA for eb189ca
app/Http/Controllers/Gallery/PhotoController.php
@@ -84,8 +84,8 @@ private function process(
84
85
if (Configs::getValueAsBool('extract_zip_on_upload') &&
86
\Str::endsWith($processableFile->getPath(), '.zip')) {
87
- ExtractZip::dispatch($processableFile, $album->id, $file_last_modified_time);
88
- $meta->stage = FileStatus::DONE->value;
+ ExtractZip::dispatch($processableFile, $album?->id, $file_last_modified_time);
+ $meta->stage = FileStatus::DONE;
89
90
return $meta;
91
}
app/Image/Files/ExtractedJobFile.php
@@ -12,7 +12,7 @@
12
{
13
public function __construct(
14
public string $path,
15
- public string $baseName
+ public string $baseName,
16
) {
17
18
0 commit comments