mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update StoryController, fix expiration time bug
This commit is contained in:
parent
174260787e
commit
39e57f9506
1 changed files with 1 additions and 1 deletions
|
@ -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 [
|
||||
|
|
Loading…
Reference in a new issue