We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd7c2d8 + 38695df commit 315e254Copy full SHA for 315e254
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