Skip to content

Commit

Permalink
fix: properly return process
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi authored Jan 4, 2025
1 parent 2bf0e3c commit 8f3ca3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ server.post("/query", async (req, res) => {

if (req.headers.authorization !== config.auth) {
res.status(401).json({ error: "Invalid authorization token!" });
return;
}

logger.info({
Expand Down

0 comments on commit 8f3ca3d

Please sign in to comment.