Skip to content

Commit

Permalink
db-tabulator: fix bug in looking up transcluded pages
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed Jun 11, 2024
1 parent 98b4f8b commit 836c683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db-tabulator/web-endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ router.get('/stream', async (req, res) => {
JOIN page ON page_id = cl_from
WHERE cl_to = ?
)
`, [title.getNamespaceId(), title.getMainText(), SUBSCRIPTIONS_CATEGORY.replace(/ /g, '_')])
`, [title.getNamespaceId(), title.getMain(), SUBSCRIPTIONS_CATEGORY.replace(/ /g, '_')])
for (let row of transcludedReportPages) {
let page = new bot.Title(row.lt_title as string, row.lt_namespace as number).toText();
queries = queries.concat(await fetchQueriesForPage(page));
Expand Down

0 comments on commit 836c683

Please sign in to comment.