1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

back/forward buttons, fix timestamps in DB

This commit is contained in:
Samuel Štancl 2021-04-07 20:16:47 +02:00
parent 3c618a2209
commit 733f0aa228
79 changed files with 171 additions and 6904 deletions

View file

@ -81,6 +81,7 @@ class Tip extends Model
'avatar' => $tweet->author->profile_image_url,
])->username,
'images' => array_map(fn (TwitterImage $image) => $image->url, $tweet->images),
'created_at' => $tweet->created_at,
]);
}