client/src/app/+videos/+video-watch/shared/recommendations/video-recommendation.service.ts
Function fetchPage
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private fetchPage (currentVideo: VideoDetails, totalItems: number): Observable<Video[]> {
const pagination = { currentPage: 1, itemsPerPage: totalItems }
return this.userService.getAnonymousOrLoggedUser()
.pipe(