Skip to content

Commit

Permalink
[FIX] 플랫폼 타입 검증 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekks committed Jan 16, 2024
1 parent a14a1eb commit 7d0590b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public enum PlatformType {
NAVER, NONE;

public static PlatformType of(String platformType) {
return Arrays.stream(PlatformType.values()).filter(type -> type.equals(platformType)).findAny()
return Arrays.stream(PlatformType.values()).filter(type -> type.toString().equals(platformType)).findAny()
.orElseThrow(() -> new AuthException(INVALID_PLATFORM_TYPE));
}
}

0 comments on commit 7d0590b

Please sign in to comment.