mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-18 06:43:01 -06:00
domain blocky block block
This commit is contained in:
parent
72a2bef878
commit
6f20eaee75
16 changed files with 193 additions and 29 deletions
|
|
@ -53,6 +53,8 @@ func (ps *postgresService) GetDomainCountForInstance(domain string) (int, error)
|
|||
}
|
||||
|
||||
func (ps *postgresService) GetAccountsForInstance(domain string, maxID string, limit int) ([]*gtsmodel.Account, error) {
|
||||
ps.log.Debug("GetAccountsForInstance")
|
||||
|
||||
accounts := []*gtsmodel.Account{}
|
||||
|
||||
q := ps.conn.Model(&accounts).Where("domain = ?", domain).Order("id DESC")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue