parent
c5178e0181
commit
8ba7ee1d48
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user