mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
began refactoring of client
This commit is contained in:
@@ -183,7 +183,7 @@ func HasAdmin() (bool, error) {
|
||||
|
||||
collection, err := database.FetchRecords(database.USERS_TABLE_NAME)
|
||||
if err != nil {
|
||||
return false, err
|
||||
return true, err
|
||||
}
|
||||
|
||||
for _, value := range collection { // filter for isadmin true
|
||||
|
Reference in New Issue
Block a user