Browse Source

Update StoryItemTransformer, increase story duration from 5 seconds to 10 seconds

Daniel Supernault 4 years ago
parent
commit
5b0b14fc42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Transformer/Api/StoryItemTransformer.php

+ 1 - 1
app/Transformer/Api/StoryItemTransformer.php

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