diff --git a/management/server/sqlite_store.go b/management/server/sqlite_store.go index b52c0d227..5233bc31d 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). + result := s.db.Model(&account).Debug(). Preload("UsersG.PATsG"). // have to be specifies as this is nester reference Preload(clause.Associations). First(&account, "id = ?", accountID)