diff --git a/app/Transformer/Api/StatusStatelessTransformer.php b/app/Transformer/Api/StatusStatelessTransformer.php index 13179f0c..3ad409de 100644 --- a/app/Transformer/Api/StatusStatelessTransformer.php +++ b/app/Transformer/Api/StatusStatelessTransformer.php @@ -20,6 +20,7 @@ class StatusStatelessTransformer extends Fractal\TransformerAbstract $taggedPeople = MediaTagService::get($status->id); return [ + '_v' => 1, 'id' => (string) $status->id, 'shortcode' => HashidService::encode($status->id), 'uri' => $status->url(), diff --git a/app/Transformer/Api/StatusTransformer.php b/app/Transformer/Api/StatusTransformer.php index 1cd3b8d8..718ea66e 100644 --- a/app/Transformer/Api/StatusTransformer.php +++ b/app/Transformer/Api/StatusTransformer.php @@ -22,6 +22,7 @@ class StatusTransformer extends Fractal\TransformerAbstract $taggedPeople = MediaTagService::get($status->id); return [ + '_v' => 1, 'id' => (string) $status->id, 'shortcode' => HashidService::encode($status->id), 'uri' => $status->url(),