diff --git a/management/server/sqlite_store.go b/management/server/sqlite_store.go index 5233bc31d..1b060c988 100644 --- a/management/server/sqlite_store.go +++ b/management/server/sqlite_store.go @@ -430,7 +430,7 @@ func (s *SqliteStore) GetAllAccounts() (all []*Account) { func (s *SqliteStore) GetAccount(accountID string) (*Account, error) { var account Account - result := s.db.Model(&account).Debug(). + result := s.db.Debug().Model(&account). Preload("UsersG.PATsG"). // have to be specifies as this is nester reference Preload(clause.Associations). First(&account, "id = ?", accountID)