Merge branch 'develop' into fix/safe-data-access

This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-08-19 19:06:30 -07:00
commit 4754a056fe
29 files changed
+648 -307

No files matched your search

+1 -1
View File
@@ -297,7 +297,7 @@ const getMonitorById = async (monitorId) => {
*/
const getMonitorsByUserId = async (req, res) => {
try {
let { limit, type, status, sortOrder, normalize } = req.query;
let { limit, type, status, sortOrder, normalize } = req.query || {};
const monitorQuery = { userId: req.params.userId };
if (type !== undefined) {