Skip to content

Commit

Permalink
fix: remove debug console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
maticrivo committed Dec 3, 2023
1 parent 11d0bc0 commit 9246bf4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const ResponseSave = ({ item }) => {

const saveResponseToFile = () => {
return new Promise((resolve, reject) => {
console.log(item);
ipcRenderer
.invoke('renderer:save-response-to-file', response, item.requestSent.url)
.then(resolve)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const ImportCollectionLocation = ({ onClose, handleSubmit, collectionName }) =>
.required('name is required')
}),
onSubmit: (values) => {
console.log('here');
handleSubmit(values.collectionLocation);
}
});
Expand Down
1 change: 0 additions & 1 deletion packages/bruno-app/src/providers/ReduxStore/slices/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const appSlice = createSlice({
},
updateCookies: (state, action) => {
state.cookies = action.payload;
console.log(state.cookies);
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export const saveRequest = (itemUid, collectionUid) => (dispatch, getState) => {
export const saveCollectionRoot = (collectionUid) => (dispatch, getState) => {
const state = getState();
const collection = findCollectionByUid(state.collections.collections, collectionUid);
console.log(collection.root);

return new Promise((resolve, reject) => {
if (!collection) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,6 @@ export const collectionsSlice = createSlice({
switch (action.payload.mode) {
case 'awsv4':
set(collection, 'root.request.auth.awsv4', action.payload.content);
console.log('set auth awsv4', action.payload.content);
break;
case 'bearer':
set(collection, 'root.request.auth.bearer', action.payload.content);
Expand Down
2 changes: 0 additions & 2 deletions packages/bruno-app/src/utils/curl/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ export const getRequestFromCurlCommand = (curlCommand) => {
body.xml = parsedBody;
} else if (contentType.includes('application/x-www-form-urlencoded')) {
body.mode = 'formUrlEncoded';
console.log(parsedBody);
console.log(parseFormData(parsedBody));
body.formUrlEncoded = parseFormData(parsedBody);
} else if (contentType.includes('multipart/form-data')) {
body.mode = 'multipartForm';
Expand Down

0 comments on commit 9246bf4

Please sign in to comment.