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) {
emit('validation-error', error.response)
}
console.log(error)
//throw error
})
.finally(() => {

View File

@ -28,7 +28,6 @@
form.qrcode = qrcodeInput.value.files[0]
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=") {
bus.migrationUri = response.data.data
router.push({ name: 'importAccounts' })

View File

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

View File

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