1 parent
c5178e0181
commit
8ba7ee1d48
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user