diff options
author | 2021-05-29 19:45:07 +0200 | |
---|---|---|
committer | 2021-05-29 19:45:07 +0200 | |
commit | 5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0 (patch) | |
tree | 40ae75c3613c9c6915273f98fe7ce41046d11381 /internal/db | |
parent | first implementation of search feature (diff) | |
parent | Search (#36) (diff) | |
download | gotosocial-5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0.tar.xz |
Merge branch 'main' of github.com:superseriousbusiness/gotosocial into main
Diffstat (limited to 'internal/db')
-rw-r--r-- | internal/db/pg/pg.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/db/pg/pg.go b/internal/db/pg/pg.go index 92aa2849a..f352404aa 100644 --- a/internal/db/pg/pg.go +++ b/internal/db/pg/pg.go @@ -1148,7 +1148,6 @@ func (ps *postgresService) GetNotificationsForAccount(accountID string, limit in q := ps.conn.Model(¬ifications).Where("target_account_id = ?", accountID) - if maxID != "" { n := >smodel.Notification{} if err := ps.conn.Model(n).Where("id = ?", maxID).Select(); err != nil { |