Scanstation "me" endpoint feature/157-scanstation_me #158

Merged
niggl merged 5 commits from feature/157-scanstation_me into dev 2021-03-17 15:52:05 +00:00
Showing only changes of commit 8ba7ee1d48 - Show all commits

View File

@ -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();
}
}