moving stuff around

This commit is contained in:
tsmethurst
2021-06-04 14:39:56 +02:00
parent 1f44b06c06
commit 5d2b69c256
22 changed files with 14 additions and 264 deletions

View File

@ -467,8 +467,8 @@ func (ps *postgresService) GetFollowersByAccountID(accountID string, followers *
// for local accounts let's get where domain is null OR where domain is an empty string, just to be safe
whereGroup := func(q *pg.Query) (*pg.Query, error) {
q = q.
WhereOr("? IS NULL", pg.Ident("a.domain")).
WhereOr("a.domain = ?", "")
WhereOr("? IS NULL", pg.Ident("a.domain")).
WhereOr("a.domain = ?", "")
return q, nil
}