node: fix readiness waiting for next result instead of using latest
This commit is contained in:
1 parent
0956271e29
commit
c6ff80655b
1 file changed
+1
-1
@@ -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