fix: missing translation for error during link share auth

Resolves #822
This commit is contained in:
kolaente 2021-10-04 21:11:11 +02:00
parent 587f2edd83
commit cc22d8d4e9
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -77,7 +77,7 @@ export default {
} }
// TODO: Put this logic in a global errorMessage handler method which checks all auth codes // TODO: Put this logic in a global errorMessage handler method which checks all auth codes
let errorMessage = this.$t('sharing.errorMessage') let errorMessage = this.$t('sharing.error')
if (e.response && e.response.data && e.response.data.message) { if (e.response && e.response.data && e.response.data.message) {
errorMessage = e.response.data.message errorMessage = e.response.data.message
} }