First user is superadmin instead of admin
This commit is contained in:
1 parent
ef02bd8078
commit
4c2cc6fb2c
5 files changed
+27
-17
No files matched your search
@@ -293,8 +293,8 @@ class NetworkService {
|
||||
* @returns {Promise<AxiosResponse>} The response from the axios GET request.
|
||||
*
|
||||
*/
|
||||
async doesAdminExist() {
|
||||
return this.axiosInstance.get("/auth/users/admin");
|
||||
async doesSuperAdminExist() {
|
||||
return this.axiosInstance.get("/auth/users/superadmin");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user