node: fix readiness waiting for next result instead of using latest
This commit is contained in:
@@ -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