mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +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->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 [
|
||||||
|
|
Loading…
Reference in a new issue