Skip to content

Commit 4171911

Browse files
committed
hotfix: fix timeperiod
1 parent 7b7e9ca commit 4171911

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/sevenstar/marineleisure/global/enums/TimePeriod.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ public static TimePeriod from(String value) {
1818
return timePeriod;
1919
}
2020
}
21-
throw new IllegalArgumentException("Invalid TimePeriod value: " + value);
21+
return TimePeriod.AM;
22+
// throw new IllegalArgumentException("Invalid TimePeriod value: " + value);
2223
}
2324

2425
}

0 commit comments

Comments
 (0)