Skip to content

Commit

Permalink
bindle api
Browse files Browse the repository at this point in the history
  • Loading branch information
HolgerHatGarKeineNode committed Aug 18, 2023
1 parent 9dcff11 commit c8242e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
'media',
])
->orderByDesc('id')
->get()->map(fn($item) => [
->get()
->map(fn($item) => [
'id' => $item->id,
'name' => $item->name,
'link' => $item->value,
Expand Down

0 comments on commit c8242e4

Please sign in to comment.