From 1f392f5240afcdc18ccf2f0960b217a053f45177 Mon Sep 17 00:00:00 2001 From: Alessio Date: Sat, 31 Aug 2024 23:06:54 -0700 Subject: [PATCH] Fix lint error --- pkg/persistence/compound_queries.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/persistence/compound_queries.go b/pkg/persistence/compound_queries.go index 3a6d226..a6382a2 100644 --- a/pkg/persistence/compound_queries.go +++ b/pkg/persistence/compound_queries.go @@ -421,7 +421,10 @@ func (p Profile) GetNotificationsForUser(u_id UserID, cursor int64) Feed { // Get the user_ids list for each notification. Unlike tweet+retweet_ids, users are needed to render // the notification properly. for i := range notifications { - err = p.DB.Select(¬ifications[i].UserIDs, `select user_id from notification_users where notification_id = ?`, notifications[i].ID) + err = p.DB.Select(¬ifications[i].UserIDs, + `select user_id from notification_users where notification_id = ?`, + notifications[i].ID, + ) if err != nil { panic(err) }