1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update StoryItemTransformer, increase story length to 5 seconds

This commit is contained in:
Daniel Supernault 2020-04-26 23:33:37 -06:00
parent 38b0233e96
commit 924e424cd2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -14,7 +14,7 @@ class StoryItemTransformer extends Fractal\TransformerAbstract
return [
'id' => (string) $item->id,
'type' => $item->type,
'length' => $item->duration != 0 ? $item->duration : 3,
'length' => 5,
'src' => $item->url(),
'preview' => null,
'link' => null,