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

[FIX] 프로필수정 멀티파트파일 nullable 수정 - #161 #221

Merged
merged 6 commits into from
Aug 13, 2024

Conversation

sjk4618
Copy link
Member

@sjk4618 sjk4618 commented Aug 13, 2024

🔥Pull requests

⛳️ 작업한 브랜치

👷 작업한 내용

  • required = false로 변경하였습니다.
    @PatchMapping
    public ResponseEntity<Void> patchUserProfile(@UserId final Long userId,
                                                 @RequestPart("name") final String name,
                                                 @RequestPart("tags") final List<DateTagType> tags,
                                                 @Nullable @RequestPart(name = "image", required = false) final MultipartFile image ) throws IOException, ExecutionException, InterruptedException {
        userService.editUserProfile(userId, name, tags, image);
        return ResponseEntity
                .ok()
                .build();
    }

📟 관련 이슈

Copy link
Member

@rlarlgnszx rlarlgnszx left a comment

Choose a reason for hiding this comment

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

LGTM~

@sjk4618 sjk4618 merged commit 67d4b56 into develop Aug 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FIX] 프로필 수정 멀티파트 nullable 수정
2 participants