fix salary logs
This commit is contained in:
parent
0c2bbd44d0
commit
4732c835b4
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ export type LogSequence = {
|
|||
|
||||
export function setLogDataDiff(req: RequestWithUser, data: DataDiff) {
|
||||
req.app.locals.logData.dataDiff = {
|
||||
before: JSON.stringify(data.before),
|
||||
after: JSON.stringify(data.after),
|
||||
before: data.before ? JSON.stringify(data.before) : "",
|
||||
after: data.after ? JSON.stringify(data.after) : "",
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue