Skip to content

Commit

Permalink
Merge pull request #103 from VEuPathDB/fix-UserRefFactory-bug
Browse files Browse the repository at this point in the history
Update UserReferenceFactory.java
  • Loading branch information
steve-fischer-200 authored Aug 15, 2024
2 parents 8a0e426 + 4e4fe7c commit 92c2e74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public int addUserReference(User user) throws WdkModelException {
.replace(USER_SCHEMA_MACRO, _userSchema)
.replace(IS_GUEST_VALUE_MACRO, _userDb.getPlatform().convertBoolean(isGuest).toString());
return new SQLRunner(_userDb.getDataSource(), sql, "insert-user-ref")
.executeUpdate(new Object[]{ userId, userId, insertedOn }, INSERT_USER_REF_PARAM_TYPES);
.executeUpdate(new Object[]{ userId, insertedOn }, INSERT_USER_REF_PARAM_TYPES);
}
catch (SQLRunnerException e) {
throw WdkModelException.translateFrom(e);
Expand Down

0 comments on commit 92c2e74

Please sign in to comment.