Skip to content

Commit 73f46dd

Browse files
committed
fix WOQLClient.getCommitsLog with selected branch
1 parent 0c1afdd commit 73f46dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/connectionConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ ConnectionConfig.prototype.queryURL = function () {
473473
* @returns {string}
474474
*/
475475
ConnectionConfig.prototype.log = function () {
476-
return this.dbBase('log');
476+
return this.branchBase('log');
477477
};
478478

479479
/**

lib/woqlClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1815,7 +1815,7 @@ WOQLClient.prototype.getVersionDiff = function (beforeVersion, afterVersion, id,
18151815
* @param {object} [options] - {keep:{}} Options to send to the apply endpoint
18161816
* @example
18171817
* client.checkout("mybranch")
1818-
* client.apply("main","mybranch","merge main").then(result=>{
1818+
* client.apply("mybranch","mybranch_new","merge main").then(result=>{
18191819
* console.log(result)
18201820
* })
18211821
*/

0 commit comments

Comments
 (0)