}
private loadMoreFollowers (reset = false) {
- const pagination = this.restService.componentPaginationToRestPagination(this.followersPagination)
+ const pagination = this.restService.componentToRestPagination(this.followersPagination)
- this.followService.getFollowers({ pagination: pagination, sort: this.sort, state: 'accepted' })
+ this.followService.getFollowers({ pagination, sort: this.sort, state: 'accepted' })
.subscribe({
next: resultList => {
if (reset) this.followers = []
}
private loadMoreFollowings (reset = false) {
- const pagination = this.restService.componentPaginationToRestPagination(this.followingsPagination)
+ const pagination = this.restService.componentToRestPagination(this.followingsPagination)
this.followService.getFollowing({ pagination, sort: this.sort, state: 'accepted' })
.subscribe({