Skip to content

Commit ea3c50d

Browse files
authored
Merge pull request #97 from ConnectCo/fix/#96/채팅-프로필-타입-유효성-검사-오류-수정
[FIX] 채팅 프로필 타입 유효성 검사 오류 수정
2 parents 4a34ede + 18cf416 commit ea3c50d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/connectCo/global/validation/ParamValidator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public static void validModify(Long memberId1, Long memberId2) {
3737

3838
//채팅 가게-조직 프로필 타입 유효성 검사
3939
public static void validChatProfileType(ProfileType senderProfileType, ProfileType receiverProfileType) {
40-
if ((senderProfileType == ProfileType.STORE && receiverProfileType == ProfileType.ORGANIZATION) ||
41-
(senderProfileType == ProfileType.ORGANIZATION && receiverProfileType == ProfileType.STORE))
40+
if ((senderProfileType == ProfileType.ORGANIZATION && receiverProfileType == ProfileType.ORGANIZATION) ||
41+
(senderProfileType == ProfileType.STORE && receiverProfileType == ProfileType.STORE))
4242
throw new CustomApiException(ErrorCode.INVALID_PROFILE_TYPE);
4343
}
4444

0 commit comments

Comments
 (0)