瀏覽代碼

Update StoryController, fix expiration time bug

Daniel Supernault 4 年之前
父節點
當前提交
39e57f9506
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/StoryController.php

+ 1 - 1
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 [