Merge remote-tracking branch 'origin/develop' into activitypub

This commit is contained in:
Julian Lam
2024-01-02 11:58:25 -05:00
20 changed files with 120 additions and 69 deletions

View File

@@ -128,7 +128,7 @@ categoriesAPI.getTopics = async (caller, data) => {
let start = Math.max(0, parseInt(data.after || 0, 10));
if (data.direction === -1) {
if (parseInt(data.direction, 10) === -1) {
start -= infScrollTopicsPerPage;
}