Skip to content

Commit

Permalink
Removed preload users from getCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
kian99 committed Oct 30, 2023
1 parent e836e9b commit c325a92
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/db/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ func preloadCloud(prefix string, db *gorm.DB) *gorm.DB {
prefix += "."
}
db = db.Preload(prefix + "Regions").Preload(prefix + "Regions.Controllers").Preload(prefix + "Regions.Controllers.Controller")
db = db.Preload(prefix + "Users").Preload(prefix + "Users.User")
return db
}

Expand Down

0 comments on commit c325a92

Please sign in to comment.