Skip to content

Commit c4593d0

Browse files
committed
review getdb
1 parent 9e301fc commit c4593d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/connectionConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ ConnectionConfig.prototype.apiURL = function() {
119119
* @returns {string | boolean}
120120
*/
121121
ConnectionConfig.prototype.db = function() {
122-
if(!this.dbid) throw new Error('Invalid database name');
122+
if(!this.dbid) return false//throw new Error('Invalid database name');
123123
return this.dbid
124124
}
125125

0 commit comments

Comments
 (0)