Skip to content

Commit ad36d3d

Browse files
author
Gareth Redfern
committed
remove timestamp from message resource
1 parent 45df3d2 commit ad36d3d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/Http/Resources/MessageResource.php

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public function toArray($request)
2020
'body' => $this->body,
2121
'user' => new UserBasicResource($this->user),
2222
'createdAt' => $this->created_at->diffForHumans(),
23-
'timestamp' => $this->created_at->unix(),
2423
];
2524
}
2625
}

0 commit comments

Comments
 (0)