Skip to content

Commit

Permalink
Added populate statement
Browse files Browse the repository at this point in the history
  • Loading branch information
vmatsiiako committed Jan 1, 2023
1 parent 6fa84bf commit 9c83808
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/ee/controllers/v1/workspaceController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export const getWorkspaceLogs = async (req: Request, res: Response) => {
logs = await Log.find(filters)
.skip(offset)
.limit(limit)
.populate('actions');
.populate('actions')
.populate('user');

} catch (err) {
Sentry.setUser({ email: req.user.email });
Expand Down

0 comments on commit 9c83808

Please sign in to comment.