mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update StoryController, fix deprecated getClientSize() use
This commit is contained in:
parent
2c31601d76
commit
725fc6c62b
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class StoryController extends Controller
|
|||
$story->mime = $photo->getMimeType();
|
||||
$story->path = $path;
|
||||
$story->local = true;
|
||||
$story->size = $photo->getClientSize();
|
||||
$story->size = $photo->getSize();
|
||||
$story->expires_at = now()->addHours(24);
|
||||
$story->save();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue