Skip to content

Commit

Permalink
[fix] Category.Of 변경으로 영어로 조회 가능하게함
Browse files Browse the repository at this point in the history
  • Loading branch information
dong-yxxn committed Nov 14, 2024
1 parent 9b1e163 commit e1e1b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/team7/inplace/place/domain/Category.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public enum Category {

public static Category of(String name) {
for (Category category : values()) {
if (category.name.equals(name)) {
if (category.name.equalsIgnoreCase(name) || category.name().equalsIgnoreCase(name)) {
return category;
}
}
Expand Down

0 comments on commit e1e1b87

Please sign in to comment.