parent
c5178e0181
commit
8ba7ee1d48
@ -62,7 +62,7 @@ const ScanAuth = async (req: Request, res: Response, next: () => void) => {
|
|||||||
res.status(401).send("Api token invalid.");
|
res.status(401).send("Api token invalid.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
req.headers["station_id"] = station.id.toString();
|
||||||
next();
|
next();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user