adata-ui 0.1.69 → 0.1.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.1.69",
3
+ "version": "0.1.70",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -80,7 +80,7 @@ export default {
80
80
  },
81
81
  onSubmitForm() {
82
82
  const regex = new RegExp('^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$')
83
-
83
+ this.email = this.userEmail
84
84
  if(!this.email.length || !regex.test(this.email)) {
85
85
  this.emailError = 'Введите валидыный email';
86
86
  return;
@@ -106,7 +106,7 @@ export default {
106
106
  }
107
107
 
108
108
  try {
109
- const response = await fetch('https://users.adtdev.kz/api/v1/message/regards', {
109
+ const response = await fetch('https://users.adata.kz/api/v1/message/regards', {
110
110
  method: "POST",
111
111
  headers: {
112
112
  'Content-Type': 'application/json'