We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd7c2d8 commit 38695dfCopy full SHA for 38695df
src/pages/user/Apply/api/apply.ts
@@ -35,10 +35,11 @@ export const overwriteApplicationForm = async (
35
const applicationDto = toApplyRequest(formData, questionArray);
36
37
try {
38
- const overwriteResponse = await apiInstance.post(`/clubs/${clubId}/apply-submit`, {
39
- ...applicationDto,
40
- overwrite: true,
41
- });
+ const overwriteResponse = await apiInstance.post(
+ `/clubs/${clubId}/apply-submit`,
+ applicationDto,
+ { params: { overwrite: true } },
42
+ );
43
return overwriteResponse.data;
44
} catch (error: unknown) {
45
return handleAxiosError(error, '지원서 제출이 실패하였습니다.');
0 commit comments