Skip to content

Commit 0071770

Browse files
committed
Fix: 파일 업로드 로직 오류 수정
1 parent dcd476e commit 0071770

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/api/oauth.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ export const registClient = async ({
107107
managerPhone,
108108
}) => {
109109
try {
110-
const businessLogoUrl = await uploadFiles(businessLogo, 'logo/');
110+
let fileURLs = [];
111+
fileURLs = await uploadFiles(businessLogo, 'logo/');
112+
const businessLogoUrl = fileURLs[0];
111113
return await PostAxiosInstance('/api/epic/business', {
112114
nickName,
113115
businessName,

0 commit comments

Comments
 (0)