Compare commits
5 Commits
805e7e6bbc
...
v0.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a73105586b | ||
|
|
c6ff80655b | ||
|
|
0956271e29 | ||
|
|
620be9ccda | ||
|
|
061ee7c7fd |
@@ -1,6 +1,14 @@
|
||||
{
|
||||
"name": "@health/node",
|
||||
"version": "0.1.0",
|
||||
"name": "@end/node-health",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.auvem.com/end/health.git"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://gitea.auvem.com/api/packages/end/npm/"
|
||||
},
|
||||
"version": "0.1.2",
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
export * from './liveness';
|
||||
export * from './readiness';
|
||||
export * from './checks';
|
||||
|
||||
@@ -196,7 +196,7 @@ export class ScheduledReadiness {
|
||||
*/
|
||||
createHandler(): () => Promise<Response> {
|
||||
return async () => {
|
||||
const result = await this.getNextResult();
|
||||
const result = this.getResult();
|
||||
if (!result) {
|
||||
return new Response(
|
||||
JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user