diff --git a/src/api/uploadFile/index.ts b/src/api/uploadFile/index.ts index a9052a5d..321de39c 100644 --- a/src/api/uploadFile/index.ts +++ b/src/api/uploadFile/index.ts @@ -20,4 +20,4 @@ export const uploadFiles = (formData: FormData) => accessClient.post('/OWNERS/up headers: { 'Content-Type': 'multipart/form-data' }, }); -export const getOwnerUrl = (fileName: File) => accessClient.post('/owner/upload/url', fileName); +export const getOwnerUrl = (fileName: File) => accessClient.post('/owners/upload/url', fileName); diff --git a/src/page/MyShopPage/components/EditShopInfoModal/index.tsx b/src/page/MyShopPage/components/EditShopInfoModal/index.tsx index 408ae8e7..527bb493 100644 --- a/src/page/MyShopPage/components/EditShopInfoModal/index.tsx +++ b/src/page/MyShopPage/components/EditShopInfoModal/index.tsx @@ -77,6 +77,7 @@ export default function EditShopInfoModal({ open_time: day.open_time, close_time: day.close_time, })), + main_category_id: shopInfo.shop_categories.map((category) => category.id)[0], }, });