diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/post/PostPagingSource.java b/app/src/main/java/eu/toldi/infinityforlemmy/post/PostPagingSource.java index 9ec6b445..711dfc96 100644 --- a/app/src/main/java/eu/toldi/infinityforlemmy/post/PostPagingSource.java +++ b/app/src/main/java/eu/toldi/infinityforlemmy/post/PostPagingSource.java @@ -251,7 +251,7 @@ public class PostPagingSource extends ListenableFuturePagingSource> loadSubredditPosts(@NonNull LoadParams loadParams, LemmyAPI api) { ListenableFuture> subredditPost; - subredditPost = api.getPosts(null,sortType.getType().value,loadParams.getKey(),25,null,subredditOrUserName,false,null); + subredditPost = api.getPosts(null,sortType.getType().value,loadParams.getKey(),25,null,subredditOrUserName,false,accessToken); ListenableFuture> pageFuture = Futures.transform(subredditPost, this::transformData, executor);