Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop
This commit is contained in:
commit
14d2b45588
2 changed files with 2 additions and 0 deletions
|
|
@ -7057,6 +7057,7 @@ export class ProfileController extends Controller {
|
|||
lastName: profile.lastName,
|
||||
citizenId: profile.citizenId,
|
||||
position: profile.position,
|
||||
isDirector : posMaster?.isDirector,
|
||||
isProbation: profile.isProbation,
|
||||
posLevelName: profile.posLevel == null ? null : profile.posLevel.posLevelName,
|
||||
posLevelRank: profile.posLevel == null ? null : profile.posLevel.posLevelRank,
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ async function logMiddleware(req: Request, res: Response, next: NextFunction) {
|
|||
res.on("finish", async() => {
|
||||
if (!req.url.startsWith("/api/")) return;
|
||||
let system = "organization";
|
||||
if (req.url.startsWith("/api/v1/org/keycloak/log/sso")) system = "inout";
|
||||
if (req.url.startsWith("/api/v1/org/metadata/")) system = "master";
|
||||
if (req.url.startsWith("/api/v1/org/pos/position/")) system = "master";
|
||||
if (req.url.startsWith("/api/v1/org/pos/type/")) system = "master";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue