mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 22:27:48 +00:00
Added populate statement
This commit is contained in:
@@ -51,7 +51,8 @@ export const getWorkspaceLogs = async (req: Request, res: Response) => {
|
|||||||
logs = await Log.find(filters)
|
logs = await Log.find(filters)
|
||||||
.skip(offset)
|
.skip(offset)
|
||||||
.limit(limit)
|
.limit(limit)
|
||||||
.populate('actions');
|
.populate('actions')
|
||||||
|
.populate('user');
|
||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
Sentry.setUser({ email: req.user.email });
|
Sentry.setUser({ email: req.user.email });
|
||||||
|
|||||||
Reference in New Issue
Block a user