mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
error message
This commit is contained in:
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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user