mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 16:24:29 +00:00
Update StoryItemTransformer, increase story length to 5 seconds
This commit is contained in:
parent
38b0233e96
commit
924e424cd2
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class StoryItemTransformer extends Fractal\TransformerAbstract
|
||||||
return [
|
return [
|
||||||
'id' => (string) $item->id,
|
'id' => (string) $item->id,
|
||||||
'type' => $item->type,
|
'type' => $item->type,
|
||||||
'length' => $item->duration != 0 ? $item->duration : 3,
|
'length' => 5,
|
||||||
'src' => $item->url(),
|
'src' => $item->url(),
|
||||||
'preview' => null,
|
'preview' => null,
|
||||||
'link' => null,
|
'link' => null,
|
||||||
|
|
Loading…
Reference in a new issue