memos order by upated & fix created

This commit is contained in:
Romain committed 2020-05-02 11:17:49 +02:00
1 parent 033f563595
commit 5ccc5aa6c9
3 files changed
+13 -4

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ class Memo extends JsonResource
'name' => $this->name,
'memo' => $this->memo,
'last_updated' => $this->updated_at->diffForHumans(),
'last_updated_timestamp' => $this->updated_at->timestamp,
'attributes' => [
'posted_by' => new UserResource($this->user),
'cover_image' => new ImageResource($this->coverImage),