diff --git a/src/main/java/team7/inplace/place/domain/Category.java b/src/main/java/team7/inplace/place/domain/Category.java index 8469478e..faa42096 100644 --- a/src/main/java/team7/inplace/place/domain/Category.java +++ b/src/main/java/team7/inplace/place/domain/Category.java @@ -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; } }