From 1d9c19d21852200b3b93c3d9425e225c26c63e38 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 6 Aug 2020 20:18:26 +1000 Subject: [PATCH] is deleted on documents --- app/Transformers/DocumentTransformer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Transformers/DocumentTransformer.php b/app/Transformers/DocumentTransformer.php index a1f9c8ca51..c614885424 100644 --- a/app/Transformers/DocumentTransformer.php +++ b/app/Transformers/DocumentTransformer.php @@ -49,8 +49,8 @@ class DocumentTransformer extends EntityTransformer 'is_default' => (bool) $document->is_default, 'updated_at' => (int) $document->updated_at, 'archived_at' => (int) $document->deleted_at, - 'created_at' => (int) $document->created_at - + 'created_at' => (int) $document->created_at, + 'is_deleted' => (bool) false, ]; } }