We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc9173 commit 68803e3Copy full SHA for 68803e3
src/pages/posts/posts.ts
@@ -67,7 +67,7 @@ export class PostsPage {
67
if (!lastPost) {
68
infiniteScroll.complete()
69
} else {
70
- this.redditApi.fetchNext(lastPost.name).subscribe((posts) => {
+ this.redditApi.fetchNext(lastPost.name, this.subreddit).subscribe((posts) => {
71
this.posts = this.posts.concat(posts);
72
infiniteScroll.complete();
73
})
0 commit comments