Skip to content

Commit

Permalink
User names are case insensitive
Browse files Browse the repository at this point in the history
Fix: #91
  • Loading branch information
io7m committed Oct 20, 2023
1 parent de1b42e commit a0368b3
Show file tree
Hide file tree
Showing 5 changed files with 236 additions and 160 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ yield new IdDatabaseException(
Objects.requireNonNullElse(serverError.getConstraint(), "");

yield switch (constraint) {
case "users_id_name_key" -> {
case "users_id_name_index" -> {
yield new IdDatabaseException(
"User ID name already exists",
USER_DUPLICATE_ID_NAME,
Expand Down
Loading

0 comments on commit a0368b3

Please sign in to comment.