homarr-labs / homarr

Class methods should utilize this JS-0105
Anti-pattern
Minor
2 occurrences in this check
Expected 'this' to be used by class method 'extractLoginTokenFromCookies'
 57    }
 58  }
 59
 60  private extractLoginTokenFromCookies(headers: Headers): string { 61    const cookies = headers.get("set-cookie") ?? "";
 62    const loginToken = cookies
 63      .split(";")
Expected 'this' to be used by class method 'extractSessionIdFromCookies'
 44    return headers;
 45  }
 46
 47  private extractSessionIdFromCookies(headers: Headers): string { 48    const cookies = headers.get("set-cookie") ?? "";
 49    const sessionId = cookies
 50      .split(";")