Update StoryController, fix deprecated getClientSize() use

This commit is contained in:
Daniel Supernault 2020-06-24 20:23:03 -06:00
parent 2c31601d76
commit 725fc6c62b
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -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();