Skip to content

Commit

Permalink
fix: CORE-8252 - pass options to fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Judy Lin committed Jul 12, 2024
1 parent d2e683c commit 76f6d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netmon.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class NetworkMonitor {
*/
async start (options) {
await this.connect()
await this._fetch('/sslsplit/enable', { method: 'POST' }, options)
await this._fetch('/sslsplit/enable', { method: 'POST', ...options })
await this.instance._waitFor(() => {
return this.instance.info.netmon && this.instance.info.netmon.enabled
})
Expand Down

0 comments on commit 76f6d2e

Please sign in to comment.