Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m0s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m0s
This commit is contained in:
commit
4ace351235
1 changed files with 2 additions and 0 deletions
|
|
@ -76,6 +76,8 @@ async function logMiddleware(req: Request, res: Response, next: NextFunction) {
|
||||||
if (req.url.startsWith("/api/v1/org/apiKey/")) system = "admin";
|
if (req.url.startsWith("/api/v1/org/apiKey/")) system = "admin";
|
||||||
if (req.url.startsWith("/api/v1/org/api-manage/")) system = "admin";
|
if (req.url.startsWith("/api/v1/org/api-manage/")) system = "admin";
|
||||||
|
|
||||||
|
if (req.url.startsWith("/api/v1/org/keycloak/")) system = "registry";
|
||||||
|
|
||||||
const level = LOG_LEVEL_MAP[process.env.LOG_LEVEL ?? "debug"] || 4;
|
const level = LOG_LEVEL_MAP[process.env.LOG_LEVEL ?? "debug"] || 4;
|
||||||
const profileByKeycloak = await repoProfile.findOne({
|
const profileByKeycloak = await repoProfile.findOne({
|
||||||
where: { keycloak: req.app.locals.logData.userId },
|
where: { keycloak: req.app.locals.logData.userId },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue