First user is superadmin instead of admin

This commit is contained in:
Alex Holliday committed 2024-08-26 10:00:34 -07:00
1 parent ef02bd8078
commit 4c2cc6fb2c
5 files changed
+27 -17

No files matched your search

+1 -1
View File
@@ -301,7 +301,7 @@ const Login = () => {
return;
}
networkService
.doesAdminExist()
.doesSuperAdminExist()
.then((response) => {
if (response.data.data === false) {
navigate("/register");