dashpresshq/dashpress

View on GitHub
src/backend/entities/entities.service.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
95%

Function getEntityRelationsForUserRole has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async getEntityRelationsForUserRole(
    entity: string,
    userRole: string
  ): Promise<IEntityRelation[]> {
    const [validRelations, entityLabels, entityOrders] = await Promise.all([
Severity: Minor
Found in src/backend/entities/entities.service.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status