Skip to content

Commit

Permalink
#87 fix: 팀 대시보드 탈퇴 api 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
MyungJiwoo committed Sep 25, 2024
1 parent 89e462d commit 2f010fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/BoardApi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const deletePersonalDashboard = async (id: string): Promise<void> => {
// * 팀 대시보드 탈퇴
export const quitTeamDashboard = async (id: string): Promise<void> => {
try {
const response = await axiosInstance.delete(`/dashboards/team/${id}/leave}`);
const response = await axiosInstance.post(`/dashboards/team/${id}/leave`);
// return response.data.data;
console.log(response);
} catch (error) {
Expand Down

0 comments on commit 2f010fe

Please sign in to comment.