Skip to content

Commit

Permalink
Merge pull request #236 from BCSDLab/fix/#235-image-upload-bug
Browse files Browse the repository at this point in the history
[영양사] 이미지 업로드 버그 수정
  • Loading branch information
MinGu-Jeong authored Apr 11, 2024
2 parents 166f08e + b2a98fe commit 82fc41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/page/Coop/components/MenuCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function MenuCard({ selectedMenuType }: MenuCardProps) {
file_name: file.name,
});
if (presigned.data.pre_signed_url) {
uploadImage({ presignedUrl: presigned.data.pre_signed_url, file });
await uploadImage({ presignedUrl: presigned.data.pre_signed_url, file });
uploadDiningImageMutation({
menu_id: menuId,
image_url: presigned.data.file_url,
Expand Down

0 comments on commit 82fc41f

Please sign in to comment.