Filter by hashtags and urls again
This commit is contained in:
@ -199,6 +199,11 @@ export async function getPosts(since: string | null, limit: number) {
|
||||
reject(err);
|
||||
return;
|
||||
}
|
||||
if (rows.length === 0) {
|
||||
// No need to check for tags
|
||||
resolve([]);
|
||||
return;
|
||||
}
|
||||
const postIdsParams = rows.map(() => '?').join(', ');
|
||||
db.all(
|
||||
`SELECT post_id, tags.url, tags.tag
|
||||
|
Reference in New Issue
Block a user