From b6d2a94531d99770037165882d361057666df234 Mon Sep 17 00:00:00 2001 From: David Peek Date: Tue, 5 Mar 2024 21:39:03 +1100 Subject: [PATCH] Export wrap from middleware-ensure-req-body-drained (#5158) * Export wrap from middleware-ensure-req-body-drained * Update packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts --------- Co-authored-by: MrBBot --- .../templates/middleware/middleware-ensure-req-body-drained.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts b/packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts index c6b4e7362e85..dfc8fd1e0ef4 100644 --- a/packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts +++ b/packages/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts @@ -16,3 +16,4 @@ const drainBody: Middleware = async (request, env, _ctx, middlewareCtx) => { }; export default drainBody; +export const wrap = undefined;