summaryrefslogtreecommitdiff
path: root/internal/db
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-05-29 19:45:07 +0200
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-05-29 19:45:07 +0200
commit5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0 (patch)
tree40ae75c3613c9c6915273f98fe7ce41046d11381 /internal/db
parentfirst implementation of search feature (diff)
parentSearch (#36) (diff)
downloadgotosocial-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.go1
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(&notifications).Where("target_account_id = ?", accountID)
-
if maxID != "" {
n := &gtsmodel.Notification{}
if err := ps.conn.Model(n).Where("id = ?", maxID).Select(); err != nil {