Merge pull request #1122 from maticrivo/fix/remove-console-log

fix: remove debug console.logs
This commit is contained in:
Anoop M D 2023-12-04 12:32:20 +05:30 committed by GitHub
commit 07eee055d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 7 deletions

View File

@ -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)

View File

@ -21,7 +21,6 @@ const ImportCollectionLocation = ({ onClose, handleSubmit, collectionName }) =>
.required('name is required')
}),
onSubmit: (values) => {
console.log('here');
handleSubmit(values.collectionLocation);
}
});

View File

@ -50,7 +50,6 @@ export const appSlice = createSlice({
},
updateCookies: (state, action) => {
state.cookies = action.payload;
console.log(state.cookies);
}
}
});

View File

@ -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) {

View File

@ -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);

View File

@ -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';