Chocobozzz/PeerTube

View on GitHub
client/src/app/+videos/+video-watch/shared/recommendations/video-recommendation.service.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function fetchPage has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private fetchPage (currentVideo: VideoDetails, totalItems: number): Observable<Video[]> {
    const pagination = { currentPage: 1, itemsPerPage: totalItems }

    return this.userService.getAnonymousOrLoggedUser()
      .pipe(

    There are no issues that match your filters.

    Category
    Status