Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FE][FIX] #171 fix presigend url #176

Closed
wants to merge 2 commits into from

Conversation

Minseok-2001
Copy link

요약


썸네일 파일을 받을 시 image 객체를 보내주는 것이 아닌 단일 파일명만 보내고 있어서 문제가 발생하였다.

작업 내용


단순 파일명이 아닌 이미지 Blob 객체를 보내줄 수 있도록 수정한다. 조회 로직에서 [object Object]를 가져오고 있음에 이를 image[item.id]로 수정한다.

참고 사항



관련 이슈



@Minseok-2001 Minseok-2001 requested a review from jeongmin59 April 19, 2024 09:18
@Minseok-2001 Minseok-2001 changed the title Fix/#171 fix presigend url [FE][FIX] #171 fix presigend url Apr 19, 2024
Comment on lines +76 to +79
setImage(prevImage => ({
...prevImage,
[item.id]: imageResponse.data.preSignedUrl,
}));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 이런 형식으로 설정해야 하는 군요ㅠㅠㅠ!

@jeongmin59 jeongmin59 closed this Apr 20, 2024
@jeongmin59 jeongmin59 deleted the fix/#171-fix-presigend-url branch April 20, 2024 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants