Skip to content

Commit 26b8b97

Browse files
committed
define null as the default database
1 parent 6e503a6 commit 26b8b97

File tree

3 files changed

+160
-161
lines changed

3 files changed

+160
-161
lines changed

src/internal/connection-provider-routing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const UNAUTHORIZED_ERROR_CODE = 'Neo.ClientError.Security.Unauthorized'
3737
const DATABASE_NOT_FOUND_ERROR_CODE =
3838
'Neo.ClientError.Database.DatabaseNotFound'
3939
const SYSTEM_DB_NAME = 'system'
40-
const DEFAULT_DB_NAME = ''
40+
const DEFAULT_DB_NAME = null
4141
const DEFAULT_ROUTING_TABLE_PURGE_DELAY = int(30000)
4242

4343
export default class RoutingConnectionProvider extends PooledConnectionProvider {

src/internal/stream-observers.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ class ProcedureRouteObserver extends StreamObserver {
554554
}
555555

556556
if (this._onCompleted) {
557-
console.log('onCompeled exsits', this._records[0])
558557
this._onCompleted(RawRoutingTable.ofRecord(this._records[0]))
559558
}
560559
}

0 commit comments

Comments
 (0)