Commit 71927310 authored by Tim Olshansky's avatar Tim Olshansky

Merge pull request #64 from openwide-java/null-safe-fix

skip_confirmation should be null safe
parents 894d7cfe 2fcfda46
......@@ -138,7 +138,7 @@ public class GitlabAPI {
Query query = new Query()
.append("email", email)
.appendIf("confirm", !skip_confirmation)
.appendIf("confirm", skip_confirmation == null ? null : !skip_confirmation)
.appendIf("password", password)
.appendIf("username", username)
.appendIf("name", fullName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment