tiny 88x31 lexicon for atproto

reverse the nocursor condition

+3 -1
+3 -1
db/lexicon.go
··· 105 for rows.Next() { 106 i = i + 1 107 if i == limit+1 { 108 - postedAt = nil 109 break 110 } 111 var btnView types.ButtonView ··· 114 return nil, nil, err 115 } 116 buttons = append(buttons, btnView) 117 } 118 return buttons, postedAt, nil 119 }
··· 105 for rows.Next() { 106 i = i + 1 107 if i == limit+1 { 108 break 109 } 110 var btnView types.ButtonView ··· 113 return nil, nil, err 114 } 115 buttons = append(buttons, btnView) 116 + } 117 + if i != limit+1 { 118 + postedAt = nil 119 } 120 return buttons, postedAt, nil 121 }