From 37afe8e7d1f0332d4defb698abfd40fe2a5759a2 Mon Sep 17 00:00:00 2001 From: shaokeyibb Date: Fri, 9 Aug 2024 20:04:22 +0800 Subject: [PATCH] fix: set commit hash --- cloudflare-workers/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare-workers/src/index.ts b/cloudflare-workers/src/index.ts index 112fb734..65078965 100644 --- a/cloudflare-workers/src/index.ts +++ b/cloudflare-workers/src/index.ts @@ -149,7 +149,7 @@ router.put('/meta/commithash', async (req, env, ctx) => { return error(401, 'Unauthorized'); } - setCommitHash(env, body.commit_hash); + await setCommitHash(env, body.commit_hash); return { status: 200,