Chocobozzz/PeerTube

View on GitHub
server/core/lib/rate.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function userRateVideo has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function userRateVideo (options: {
  rateType: UserVideoRateType
  account: MAccountUrl & MAccountId
  video: MVideoFullLight
}) {
Severity: Minor
Found in server/core/lib/rate.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status