Skip to content

Commit 8d772ca

Browse files
committed
Fix not saving thumbnail data as LfmStorageRepository::__call sets the first argument to $this->path
1 parent 6234f53 commit 8d772ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LfmPath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,6 @@ public function makeThumbnail($file_name)
315315
$image = Image::make($original_image->get())
316316
->fit(config('lfm.thumb_img_width', 200), config('lfm.thumb_img_height', 200));
317317

318-
$this->storage->put($image_path, $image->stream()->detach());
318+
$this->storage->put($image->stream()->detach());
319319
}
320320
}

0 commit comments

Comments
 (0)