server/lib/search.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getMessageRange has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function getMessageRange(conversationId, start, end, amount) {
  if (!elasticSearchAvailable()) {
    return [];
  }

Severity: Minor
Found in server/lib/search.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status