Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Dec 26, 2024
1 parent 0e5bd42 commit 538a696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libV2/warp10.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Warp10Client {
this._connectTimeout = (config && config.connectTimeout) || 30000;
const host = (config && config.host) || 'localhost';
const port = (config && config.port) || 4802;
this._client = new Warp10(`${proto}://${host}:${port}`, this._requestTimeout, this._connectTimeout);
this._client = new Warp10().endpoint(`${proto}://${host}:${port}`, this._requestTimeout, this._connectTimeout);
}

async update(payload) {
Expand Down

0 comments on commit 538a696

Please sign in to comment.