Add hour filter to incidents page

This commit is contained in:
Alex Holliday committed 2025-01-22 11:07:43 -08:00
1 parent fc36da4f7b
commit f46f8cb12b
2 files changed
+9 -6

No files matched your search

+4 -1
View File
@@ -498,7 +498,10 @@ class MonitorController {
seedDb = async (req, res, next) => {
try {
await seedDb(userId, teamId);
const token = getTokenFromHeaders(req.headers);
const { jwtSecret } = this.settingsService.getSettings();
const { _id, teamId } = jwt.verify(token, jwtSecret);
await seedDb(_id, teamId);
} catch (error) {
next(handleError(error, SERVICE_NAME, "seedDb"));
}