Compare commits

...

2 Commits

Author SHA1 Message Date
Elijah Duffy
a73105586b v0.1.2 2025-12-24 22:07:36 -08:00
Elijah Duffy
c6ff80655b node: fix readiness waiting for next result instead of using latest 2025-12-24 22:07:17 -08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
"publishConfig": { "publishConfig": {
"registry": "https://gitea.auvem.com/api/packages/end/npm/" "registry": "https://gitea.auvem.com/api/packages/end/npm/"
}, },
"version": "0.1.1", "version": "0.1.2",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@@ -196,7 +196,7 @@ export class ScheduledReadiness {
*/ */
createHandler(): () => Promise<Response> { createHandler(): () => Promise<Response> {
return async () => { return async () => {
const result = await this.getNextResult(); const result = this.getResult();
if (!result) { if (!result) {
return new Response( return new Response(
JSON.stringify({ JSON.stringify({