diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts index a2fcfb890..999d84348 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -572,6 +572,7 @@ ipcMain.on( | |||
572 | for (const key in headers) { | 572 | for (const key in headers) { |
573 | if (Object.prototype.hasOwnProperty.call(headers, key)) { | 573 | if (Object.prototype.hasOwnProperty.call(headers, key)) { |
574 | const value = headers[key]; | 574 | const value = headers[key]; |
575 | // eslint-disable-next-line no-param-reassign | ||
575 | details.requestHeaders[key] = value; | 576 | details.requestHeaders[key] = value; |
576 | } | 577 | } |
577 | } | 578 | } |