this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

opps wrong way around

+1 -1
+1 -1
store/feed.go
··· 50 50 func (s *Store) GetUsersFeed(usersDID string, cursor int64, limit int) ([]FeedPost, error) { 51 51 sql := `SELECT id, replyURI, userDID, subscribedPostURI, createdAt FROM feed 52 52 WHERE userDID = ? AND createdAt < ? 53 - ORDER BY DESC createdAt LIMIT ?;` 53 + ORDER BY createdAt DESC LIMIT ?;` 54 54 rows, err := s.db.Query(sql, usersDID, cursor, limit) 55 55 if err != nil { 56 56 return nil, fmt.Errorf("run query to get users feed posts: %w", err)