Change console.log to error.

This commit is contained in:
elweyn 2021-12-22 08:13:53 +01:00
parent 9138a6e407
commit 6f73a73926

View File

@ -42,15 +42,14 @@ export default {
},
})
.then(() => {
// eslint-disable-next-line no-console
console.log(
'Erfolgreich senden der Confirmation Link an die E-Mail des Users!',
this.email,
this.$toasted.global.success(
'Erfolgreich senden der Confirmation Link an die E-Mail des Users!' + this.email,
)
})
.catch((error) => {
// eslint-disable-next-line no-console
console.log('Fehler beim senden des confirmation link an den Benutzer', error)
this.$toasted.global.error(
'Fehler beim senden des confirmation link an den Benutzer' + error,
)
})
},
},