homarr-labs / homarr

Require template literals instead of string concatenation JS-0246
Anti-pattern
Minor
1 occurrence in this check
Unexpected string concatenation
12  const apiKeyHeaderValue = req.headers.get("ApiKey");
13  let session: Session | null;
14
15  logger.info("Creating OpenAPI fetch handler for user " + (apiKeyHeaderValue ? 'with an api key' : 'without an api key'));16
17  if (apiKeyHeaderValue !== null) {
18    const apiKeyFromDb = await db.query.apiKeys.findFirst({