Compare commits
2 Commits
v0.1.1
...
a73105586b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a73105586b | ||
|
|
c6ff80655b |
@@ -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",
|
||||||
|
|||||||
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user