Skip to content

Commit

Permalink
fix: 즐겨찾기 실패하는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gihwan-dev committed Dec 9, 2024
1 parent 8bb949c commit d87ac1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/apis/myPlant/updateMyPlantFeed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ export interface UpdateMyPlantFeedParams {
}

export const updateMyPlantFeed = (params: UpdateMyPlantFeedParams) => {
return privateAxios.patch(`/myplants/image/${params.imageId}`);
return privateAxios.patch(`/myplants/image/${params.imageId}`, {
favorite: params.favorite,
});
};

0 comments on commit d87ac1c

Please sign in to comment.