Skip to content

Commit

Permalink
fix: body에 formData 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
HongBoogie authored and JYKIM317 committed Nov 28, 2024
1 parent 8bcabfe commit bee1849
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/libs/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,14 @@ export const authenticateByNaver = async ({
};

export const updateInfo = async (formData: Update): Promise<Update> => {
const requestBody = formData as any;

const result = await fetcher<Update>({
method: 'PATCH',
url: '/api/live/update',
customOptions: {
body: requestBody,
},
});

return result;
Expand Down

0 comments on commit bee1849

Please sign in to comment.