Merge remote-tracking branch 'upstream/develop' into feat/be/webhook-integrations

This commit is contained in:
Skorpios committed 2025-01-26 13:37:48 -08:00
commit d83773abd1
35 files changed
+1830 -1810

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ const QUEUE_LOOKUP = {
hardware: "hardware",
http: "uptime",
ping: "uptime",
port: "uptime",
docker: "uptime",
pagespeed: "pagespeed",
};
+1
View File
@@ -131,6 +131,7 @@ class NetworkService {
const httpResponse = {
monitorId: job.data._id,
teamId: job.data.teamId,
type: job.data.type,
responseTime,
payload: response?.data,
+2 -1
View File
@@ -83,10 +83,11 @@ class StatusService {
* @returns {Object} The check object.
*/
buildCheck = (networkResponse) => {
const { monitorId, type, status, responseTime, code, message, payload } =
const { monitorId, teamId, type, status, responseTime, code, message, payload } =
networkResponse;
const check = {
monitorId,
teamId,
status,
statusCode: code,
responseTime,