Update StoryItemTransformer, increase story length to 5 seconds

pull/2147/head
Daniel Supernault 5 years ago
parent 38b0233e96
commit 924e424cd2
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save