Skip to content

Commit

Permalink
fix: imporve validation message in search contact
Browse files Browse the repository at this point in the history
  • Loading branch information
BettyB979 committed Sep 2, 2024
1 parent e58e3d3 commit 8bcc011
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@Target({ ElementType.FIELD, ElementType.PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
public @interface ValidContactParam {
String message() default "Invalid parameter";
String message() default "Invalid searchParam value.Only identifier, email and name are valid";
Class<?>[] groups() default {};
Class<? extends Payload>[] payload() default {};
}

0 comments on commit 8bcc011

Please sign in to comment.