Wired frontend for logs

This commit is contained in:
Vladyslav Matsiiako
2023-01-02 09:57:02 -08:00
parent 4af839040e
commit 03b7d3a5ce
4 changed files with 63 additions and 19 deletions

View File

@@ -59,6 +59,7 @@ export const getWorkspaceLogs = async (req: Request, res: Response) => {
} : {}
)
})
.sort({ createdAt: -1 })
.skip(offset)
.limit(limit)
.populate('actions')