diff --git a/src/middlewares/ScanAuth.ts b/src/middlewares/ScanAuth.ts index 2f39bbf..05793f0 100644 --- a/src/middlewares/ScanAuth.ts +++ b/src/middlewares/ScanAuth.ts @@ -62,7 +62,7 @@ const ScanAuth = async (req: Request, res: Response, next: () => void) => { res.status(401).send("Api token invalid."); return; } - + req.headers["station_id"] = station.id.toString(); next(); } }