From 484bb509c6518193a7215bafce67ebe4e6b7243d Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 10 Nov 2019 20:53:37 -0700 Subject: [PATCH] Update StatusTransformer --- app/Transformer/Api/StatusTransformer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Transformer/Api/StatusTransformer.php b/app/Transformer/Api/StatusTransformer.php index 99d7c4a47..7d73c5f6a 100644 --- a/app/Transformer/Api/StatusTransformer.php +++ b/app/Transformer/Api/StatusTransformer.php @@ -47,7 +47,8 @@ class StatusTransformer extends Fractal\TransformerAbstract 'thread' => false, 'replies' => [], 'parent' => [], - 'place' => $status->place + 'place' => $status->place, + 'local' => (bool) $status->local, ]; }