duplicate account check
This commit is contained in:
@@ -125,9 +125,13 @@ export default defineStore('acctMgmtStore', {
|
||||
try{
|
||||
const response = await this.$axios.get(apiUserDetail);
|
||||
this.currentViewingUser.detail = response.data;
|
||||
if(response.status === 200) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
catch(error) {
|
||||
apiError(error, 'Failed to get user detail.');
|
||||
return false;
|
||||
};
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user