Skip to content

Commit

Permalink
Merge pull request #170 from La-Fresca/systemlog
Browse files Browse the repository at this point in the history
error fixed
  • Loading branch information
Ravindu-Hasanka authored Jan 28, 2025
2 parents a7c2c8f + 1246b29 commit 4c39b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/lafresca/lafrescabackend/Models/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public class User implements UserDetails {

private String username = Email;

@NotBlank(message = "Status is required")
@Pattern(regexp = "AVAILABLE|ON DELIVERY|ABSENT", message = "Status must be one of the following: AVAILABLE, ON DELIVERY, ABSENT")
// @NotBlank(message = "Status is required")
// @Pattern(regexp = "AVAILABLE|ON DELIVERY|ABSENT", message = "Status must be one of the following: AVAILABLE, ON DELIVERY, ABSENT")
private String status; // AVAILABLE, ON DELIVERY, ABSENT

private long statusUpdatedAt;
Expand Down

0 comments on commit 4c39b4c

Please sign in to comment.