Skip to content

Commit 544029e

Browse files
committed
Add an empty payload to satisfy the dispatch
1 parent c20da5d commit 544029e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/woqlClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ WOQLClient.prototype.resetBranch = function(branchId, commitId) {
620620
* @returns {Promise} A promise that returns the call response object, or an Error if rejected.
621621
*/
622622
WOQLClient.prototype.optimizeBranch = function(branchId) {
623-
return this.dispatch(CONST.OPTIMIZE_SYSTEM, this.connectionConfig.optimizeBranchUrl(branchId))
623+
return this.dispatch(CONST.OPTIMIZE_SYSTEM, this.connectionConfig.optimizeBranchUrl(branchId), {})
624624
}
625625

626626
/**

0 commit comments

Comments
 (0)