Skip to content

Commit

Permalink
Inline variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mmgoodnow committed Jul 30, 2021
1 parent 30f1518 commit 4d8800d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server.ts
Expand Up @@ -62,11 +62,10 @@ async function handleRequest(req, res) {

const criteriaStr = inspect({ ...criteria });

const message = `Received ${criteriaStr}`;
res.writeHead(204);
res.end();

logger.info({ label: Label.SERVER, message });
logger.info({ label: Label.SERVER, message: `Received ${criteriaStr}` });

try {
let numFound = null;
Expand Down

0 comments on commit 4d8800d

Please sign in to comment.