Skip to content

Commit

Permalink
fix: event status
Browse files Browse the repository at this point in the history
  • Loading branch information
oproprioleonardo committed Sep 28, 2024
1 parent 0524f6f commit c473cc3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ public static EventStatus fromCode(Integer code) {
case 1 -> SCHEDULED;
case 2 -> PUBLISHED;
case 3 -> OPENED;
case 4 -> CANCELED;
case 5 -> FINISHED;
case 4 -> IN_PROGRESS;
case 5 -> CANCELED;
case 6 -> FINISHED;
default -> throw new IllegalEnumException(EventStatus.class, code);
};
}
Expand Down

0 comments on commit c473cc3

Please sign in to comment.