Update StoryController, fix expiration time bug

This commit is contained in:
Daniel Supernault 2021-06-12 20:00:59 -06:00
parent 174260787e
commit 39e57f9506
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -158,7 +158,7 @@ class StoryController extends Controller
$story->active = true; $story->active = true;
$story->duration = $request->input('duration', 10); $story->duration = $request->input('duration', 10);
$story->expires_at = now()->addHours(24); $story->expires_at = now()->addMinutes(1450);
$story->save(); $story->save();
return [ return [