Skip to content

Commit 8899426

Browse files
author
ehennum
committed
pass through database instead of null #1007
1 parent 1fa4390 commit 8899426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

marklogic-client-api/src/main/java/com/marklogic/client/DatabaseClientFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ static public DatabaseClient newClient(String host, int port, SecurityContext se
721721
* @return a new client for making database requests
722722
*/
723723
static public DatabaseClient newClient(String host, int port, String database, SecurityContext securityContext) {
724-
return newClient(host, port, null, securityContext, null);
724+
return newClient(host, port, database, securityContext, null);
725725
}
726726

727727
/**

0 commit comments

Comments
 (0)