Skip to content

Commit eb189ca

Browse files
committed
add unpack
1 parent f6b693d commit eb189ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/Http/Controllers/Gallery/PhotoController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ private function process(
8484

8585
if (Configs::getValueAsBool('extract_zip_on_upload') &&
8686
\Str::endsWith($processableFile->getPath(), '.zip')) {
87-
ExtractZip::dispatch($processableFile, $album->id, $file_last_modified_time);
88-
$meta->stage = FileStatus::DONE->value;
87+
ExtractZip::dispatch($processableFile, $album?->id, $file_last_modified_time);
88+
$meta->stage = FileStatus::DONE;
8989

9090
return $meta;
9191
}

app/Image/Files/ExtractedJobFile.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
public function __construct(
1414
public string $path,
15-
public string $baseName
15+
public string $baseName,
1616
) {
1717
}
1818

0 commit comments

Comments
 (0)