forked from simrail/simrail.pro
fix(backend): fix /log
This commit is contained in:
parent
10acf8860d
commit
67e12b8179
@ -60,9 +60,7 @@ export class LogRoute
|
||||
return;
|
||||
}
|
||||
|
||||
res.status(200).json(new SuccessResponseBuilder().setCode(200).setData({
|
||||
...log,
|
||||
}));
|
||||
res.status(200).json(new SuccessResponseBuilder().setCode(200).setData(log.toJSON()));
|
||||
});
|
||||
|
||||
return app;
|
||||
|
Loading…
x
Reference in New Issue
Block a user