duplicate account check
This commit is contained in:
1 parent
38b268e8c5
commit
6d11849dae
4 files changed
+82
-31
No files matched your search
@@ -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