- controllo della @ sull'username telegram (sugli Eventi)
- controllo email di test, se funzionante o no
This commit is contained in:
@@ -2250,7 +2250,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
console.log(usertosend);
|
||||
|
||||
return Api.SendReq('/news/testemail', 'POST', usertosend).then((res) => {
|
||||
return res;
|
||||
return res?.data?.code === serv_constants.RIS_CODE_OK;
|
||||
});
|
||||
},
|
||||
|
||||
@@ -2408,7 +2408,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
return Api.SendReq('/site/load', 'POST', paramquery)
|
||||
.then((res) => {
|
||||
// console.log('datastat', res)
|
||||
this.datastat = res.data.datastat;
|
||||
this.datastat = res.data?.datastat;
|
||||
return this.datastat;
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user