Skip to content

Commit

Permalink
chore: replaced date value
Browse files Browse the repository at this point in the history
  • Loading branch information
benborla committed Nov 18, 2023
1 parent 2e57fbd commit 7703e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Controller/FruitController.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function addToFavorite(

return $this->json([
'fruit' => $favorite->getFruit()->toArray(),
'date_added' => $favorite->getId(),
'date_added' => $favorite->getDateAdded(),
]);
}

Expand Down

0 comments on commit 7703e5d

Please sign in to comment.