diff --git a/packages/app-service/src/handler/invoke-func.ts b/packages/app-service/src/handler/invoke-func.ts index 922205d8c1..ec04562065 100644 --- a/packages/app-service/src/handler/invoke-func.ts +++ b/packages/app-service/src/handler/invoke-func.ts @@ -57,6 +57,7 @@ export async function handleInvokeFunction(req: Request, res: Response) { method: req.method, auth: req['auth'], requestId, + request: req, response: res, } const result = await func.invoke(ctx) @@ -95,4 +96,4 @@ export async function handleInvokeFunction(req: Request, res: Response) { logger.error(requestId, 'failed to invoke error', error) return res.status(500).send('Internal Server Error') } -} \ No newline at end of file +}