Skip to content

Commit

Permalink
log for user_id
Browse files Browse the repository at this point in the history
  • Loading branch information
hyojeongyunn committed Aug 9, 2024
1 parent 41e519d commit b7cd473
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/favorite/favorite-places.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const FavoriteBoxes = ({ userId }: { userId: string }) => {
const response = await PoPoAxios.get(
`/favorite-place/user_id/${userId}`,
);
console.log('user_id:', userId);
console.log('response.data:', response.data);
const placeIds = response.data.map(
(place: IFavoritePlace) => place.place_id,
Expand Down

0 comments on commit b7cd473

Please sign in to comment.