tiny 88x31 lexicon for atproto
0
fork

Configure Feed

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

that should be it

+7 -1
+7 -1
db/lexicon.go
··· 68 68 } else { 69 69 query = fmt.Sprintf(query, "") 70 70 } 71 - rows, err := s.pool.Query(ctx, query, limit, cursor) 71 + var rows pgx.Rows 72 + var err error 73 + if cursor != nil { 74 + rows, err = s.pool.Query(ctx, query, limit, cursor) 75 + } else { 76 + rows, err = s.pool.Query(ctx, query, limit) 77 + } 72 78 if err != nil { 73 79 if err == pgx.ErrNoRows { 74 80 return nil, time.Time{}, nil