@sera4/essentia 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/health/index.js +5 -5
- package/package.json +1 -1
- package/package.tar.gz +0 -0
package/health/index.js
CHANGED
|
@@ -130,16 +130,16 @@ class HealthCheck {
|
|
|
130
130
|
... payload,
|
|
131
131
|
"healthy": false,
|
|
132
132
|
"message": "fail",
|
|
133
|
-
"services":
|
|
133
|
+
"services": result
|
|
134
134
|
});
|
|
135
|
-
} else if (
|
|
136
|
-
res.status(status).json(payload);
|
|
137
|
-
} else if (nonCriticalFailure) {
|
|
135
|
+
} else if (nonCriticalFail) {
|
|
138
136
|
res.status(status).json({
|
|
139
137
|
... payload,
|
|
140
138
|
"message": "fail",
|
|
141
|
-
"services":
|
|
139
|
+
"services": result
|
|
142
140
|
});
|
|
141
|
+
} else if (status === 200) {
|
|
142
|
+
res.status(status).json(payload);
|
|
143
143
|
}
|
|
144
144
|
} else {
|
|
145
145
|
let status_message;
|
package/package.json
CHANGED
package/package.tar.gz
CHANGED
|
Binary file
|