mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-06 23:48:06 -06:00
fmt + lint
This commit is contained in:
parent
0fe853b1ee
commit
9ca354fe3c
6 changed files with 16 additions and 17 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue