bug squashin

This commit is contained in:
worker-9
2021-08-05 13:47:05 -04:00
parent 20f8bc8214
commit 102aff9fd4
2 changed files with 6 additions and 0 deletions

View File

@@ -418,6 +418,9 @@ func GetAllNodes() ([]Node, error) {
collection, err := database.FetchRecords(database.NODES_TABLE_NAME)
if err != nil {
if database.IsEmptyRecord(err) {
return []Node{}, nil
}
return []Node{}, err
}