mail based rss feed aggregator
2
fork

Configure Feed

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

fix incorrect user sql query

ollie 39e5cfd0 7773fee2

+2 -2
+1 -1
src/eater/sql.gleam
··· 100 100 link_to_post link_to_post: String, 101 101 ) { 102 102 let sql = 103 - "SELECT count(sent.id) 103 + "SELECT count(*) 104 104 FROM feed_updates AS updates 105 105 WHERE updates.user_id = ? 106 106 AND updates.link_to_post = ?"
+1 -1
src/eater/sql/users.sql
··· 11 11 SELECT * FROM users; 12 12 13 13 -- name: WasUpdateSentToUser :one 14 - SELECT count(sent.id) 14 + SELECT count(*) 15 15 FROM feed_updates AS updates 16 16 WHERE updates.user_id = ? 17 17 AND updates.link_to_post = ?;