Skip to content

Commit

Permalink
fix(#1145): assertion failure for res.responseTime in runner
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjai0py committed Feb 16, 2024
1 parent 5fece08 commit 3ec7f1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/bruno-electron/src/ipc/network/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,9 @@ const registerNetworkIpc = (mainWindow) => {
const { data, dataBuffer } = parseDataFromResponse(response);
response.data = data;

response.responseTime = response.headers.get('request-duration');
response.headers.delete('request-duration');

mainWindow.webContents.send('main:run-folder-event', {
type: 'response-received',
responseReceived: {
Expand Down

0 comments on commit 3ec7f1f

Please sign in to comment.