File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ ConnectionConfig.prototype.copy = function() {
73
73
ConnectionConfig . prototype . update = function ( params ) {
74
74
if ( ! params ) return
75
75
const orgID = params . organization || params . user
76
- console . log ( "orgID" , orgID , params )
76
+ // console.log("orgID",orgID,params)
77
77
this . setOrganization ( orgID )
78
78
if ( typeof params . credential !== 'undefined' ) this . setTokenParameter ( params . credential )
79
79
if ( typeof params . db !== 'undefined' ) this . setDB ( params . db )
@@ -119,7 +119,7 @@ ConnectionConfig.prototype.apiURL = function() {
119
119
* @returns {string | boolean }
120
120
*/
121
121
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');
123
123
return this . dbid
124
124
}
125
125
Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ WOQLClient.prototype.connect = function(params) {
357
357
WOQLClient . prototype . createDatabase = function ( dbId , dbDetails , orgId ) {
358
358
359
359
orgId = orgId || this . user_organization ( )
360
- console . log ( "createDatabase" , orgId )
360
+ // console.log("createDatabase", orgId)
361
361
this . organization ( orgId )
362
362
if ( dbId ) {
363
363
this . db ( dbId )
You can’t perform that action at this time.
0 commit comments