Skip to content

Commit b897f52

Browse files
committed
Fixed incorrect validation for V0 identity map GET
1 parent 93a74a2 commit b897f52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/uid2/operator/vertx/UIDOperatorVerticle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ private void handleIdentityMap(RoutingContext rc) {
10371037
if (input == null) {
10381038
ResponseUtil.ClientError(rc, "Required Parameter Missing: exactly one of email or email_hash must be specified");
10391039
}
1040-
else if (input.isValid()) {
1040+
else if (!input.isValid()) {
10411041
ResponseUtil.ClientError(rc, "Invalid email or email_hash");
10421042
}
10431043
else {

0 commit comments

Comments
 (0)