Make some cleaning

This commit is contained in:
Bubka
2023-11-20 12:59:42 +01:00
parent fcc7e6db03
commit fb78b975b5
4 changed files with 0 additions and 4 deletions

View File

@ -150,7 +150,6 @@
if (error.response.status === 422) { if (error.response.status === 422) {
emit('validation-error', error.response) emit('validation-error', error.response)
} }
console.log(error)
//throw error //throw error
}) })
.finally(() => { .finally(() => {

View File

@ -28,7 +28,6 @@
form.qrcode = qrcodeInput.value.files[0] form.qrcode = qrcodeInput.value.files[0]
form.upload('/api/v1/qrcode/decode', { returnError: true }).then(response => { form.upload('/api/v1/qrcode/decode', { returnError: true }).then(response => {
console.log(response.data)
if (response.data.data.slice(0, 33).toLowerCase() === "otpauth-migration://offline?data=") { if (response.data.data.slice(0, 33).toLowerCase() === "otpauth-migration://offline?data=") {
bus.migrationUri = response.data.data bus.migrationUri = response.data.data
router.push({ name: 'importAccounts' }) router.push({ name: 'importAccounts' })

View File

@ -21,7 +21,6 @@
notify.success({ text: response.data.message, duration:-1 }) notify.success({ text: response.data.message, duration:-1 })
}) })
.catch(error => { .catch(error => {
console.log(error)
if( error.response.data.requestFailed ) { if( error.response.data.requestFailed ) {
notify.alert({ text: error.response.data.requestFailed, duration:-1 }) notify.alert({ text: error.response.data.requestFailed, duration:-1 })
} }

View File

@ -313,7 +313,6 @@
twofaccountService.getLogo(form.service, { returnError: true }) twofaccountService.getLogo(form.service, { returnError: true })
.then(response => { .then(response => {
console.log('enter fetchLogo response')
if (response.status === 201) { if (response.status === 201) {
// clean possible already uploaded temp icon // clean possible already uploaded temp icon
deleteIcon() deleteIcon()