error message

This commit is contained in:
Pete Matsyburka committed 2025-01-19 16:02:40 +02:00
1 parent a264a8522a
commit f1cd60dfad
1 file changed
+1 -1
@@ -297,7 +297,7 @@ export default {
const data = await resp.json()
if (resp.status === 422) {
alert(this.t('number_phone_is_invalid').replace('{number}', this.fullInternationalPhoneValue))
alert(data.error || this.t('number_phone_is_invalid').replace('{number}', this.fullInternationalPhoneValue))
} else if (resp.status === 429) {
alert(data.error)
}