From 8de23ba01b5b796cc7c9fbe4d22b4f8b8d2d8cd9 Mon Sep 17 00:00:00 2001 From: Turlubayev Marat Date: Tue, 2 Mar 2021 13:49:26 +0600 Subject: [PATCH] fix: fix date missing on journal api (#4905) --- app/Http/Resources/Journal/Entry.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Resources/Journal/Entry.php b/app/Http/Resources/Journal/Entry.php index 452d0689736..080378b278e 100644 --- a/app/Http/Resources/Journal/Entry.php +++ b/app/Http/Resources/Journal/Entry.php @@ -23,6 +23,7 @@ public function toArray($request) 'object' => 'entry', 'title' => $this->title, 'post' => $this->post, + 'date' => $this->date, 'url' => route('api.entry', $this->id), 'account' => [ 'id' => $this->account_id,