no message

This commit is contained in:
harid 2026-03-20 18:04:53 +07:00
parent 8f82ddef4c
commit f8f928866e

View file

@ -62,7 +62,7 @@ async function logMiddleware(req: Request, res: Response, next: NextFunction) {
const obj = { const obj = {
logType: res.statusCode >= 500 ? "error" : res.statusCode >= 400 ? "warning" : "info", logType: res.statusCode >= 500 ? "error" : res.statusCode >= 400 ? "warning" : "info",
ip: req.ip, ip: req.ip,
rootId: rootId?.orgRootId ?? null, rootId: rootId ?? null,
systemName: "development", systemName: "development",
startTimeStamp: timestamp, startTimeStamp: timestamp,
endTimeStamp: new Date().toISOString(), endTimeStamp: new Date().toISOString(),