From 39e57f9506af8d83e65bf5f7eb6e604a38e647bf Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 12 Jun 2021 20:00:59 -0600 Subject: [PATCH] Update StoryController, fix expiration time bug --- app/Http/Controllers/StoryController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/StoryController.php b/app/Http/Controllers/StoryController.php index 4bcf2d690..e48ee839d 100644 --- a/app/Http/Controllers/StoryController.php +++ b/app/Http/Controllers/StoryController.php @@ -158,7 +158,7 @@ class StoryController extends Controller $story->active = true; $story->duration = $request->input('duration', 10); - $story->expires_at = now()->addHours(24); + $story->expires_at = now()->addMinutes(1450); $story->save(); return [