File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
# TerminusDB Client v10.0.30
2
2
## Fixes 🛠
3
+ * Fix schema endpoint for system database
4
+ # TerminusDB Client v10.0.30
5
+ ## Fixes 🛠
3
6
* Fix DiffObject type definition
4
7
5
8
# TerminusDB Client v10.0.29
Original file line number Diff line number Diff line change @@ -479,6 +479,7 @@ ConnectionConfig.prototype.queryURL = function () {
479
479
* @returns {string }
480
480
*/
481
481
ConnectionConfig . prototype . log = function ( ) {
482
+ if ( this . db ( ) === this . system_db ) return this . dbBase ( 'log' ) ;
482
483
return this . branchBase ( 'log' ) ;
483
484
} ;
484
485
@@ -735,6 +736,9 @@ ConnectionConfig.prototype.queryParameter = function (params) {
735
736
736
737
ConnectionConfig . prototype . jsonSchemaURL = function ( params ) {
737
738
const paramsStr = this . queryParameter ( params ) ;
739
+ if ( this . db ( ) === this . system_db ) {
740
+ return this . dbBase ( 'schema' ) + paramsStr ;
741
+ }
738
742
return this . branchBase ( 'schema' ) + paramsStr ;
739
743
} ;
740
744
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @terminusdb/terminusdb-client" ,
3
- "version" : " 10.0.30 " ,
3
+ "version" : " 10.0.31 " ,
4
4
"description" : " TerminusDB client library" ,
5
5
"main" : " index.js" ,
6
6
"types" : " ./dist/typescript/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments