Skip to content

Commit 9f7f407

Browse files
sam-parsonsb11e
andcommitted
remove console log from debugging
Co-authored-by: Sam Parsons <samparsons269@gmail.com> Co-authored-by: Billy Tran <billy.tran61@gmail.com>
1 parent 0b1b148 commit 9f7f407

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

main.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,6 @@ ipcMain.on('open-gql', (event, args) => {
336336
const key = headerItem[0].split('-').map(item => item[0].toUpperCase() + item.slice(1)).join('-');
337337
reqResObj.response.headers[key] = headerItem[1];
338338

339-
console.log(key);
340-
341339
// if cookies were sent by server, parse first key-value pair, then cookie.parse the rest
342340
if (headerItem[0] === 'set-cookie'){
343341
const parsedCookies = [];
@@ -359,8 +357,6 @@ ipcMain.on('open-gql', (event, args) => {
359357
}
360358
}
361359

362-
console.log(reqResObj.response.headers)
363-
364360
return response;
365361
});
366362
});
@@ -386,8 +382,6 @@ ipcMain.on('open-gql', (event, args) => {
386382
client.query({ query: body, variables })
387383

388384
.then(data => {
389-
console.log(data);
390-
console.log(reqResObj.response.headers);
391385
event.sender.send('reply-gql', {reqResObj, data})})
392386
.catch((err) => {
393387
console.error(err);

0 commit comments

Comments
 (0)