Skip to content

Commit

Permalink
add unpack
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Oct 18, 2024
1 parent f6b693d commit eb189ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Gallery/PhotoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ private function process(

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

return $meta;
}
Expand Down
2 changes: 1 addition & 1 deletion app/Image/Files/ExtractedJobFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
public function __construct(
public string $path,
public string $baseName
public string $baseName,
) {
}

Expand Down

0 comments on commit eb189ca

Please sign in to comment.