From b992abb91b4bc2e11297ec5ef507fa0f0b1bb10d Mon Sep 17 00:00:00 2001
From: jano3 <jano@bob.co.za>
Date: Thu, 13 Apr 2023 08:12:14 +0200
Subject: [PATCH] Added Path when serving HTTP debug requests

---
 handler_utils/debug.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/handler_utils/debug.go b/handler_utils/debug.go
index dfdc2b6..c6c8ea9 100644
--- a/handler_utils/debug.go
+++ b/handler_utils/debug.go
@@ -46,6 +46,7 @@ func ServeHTTPFunctions(ctx context.Context, lambdaHandler lambda.Handler, w htt
 
 	// Call lambda function
 	request := events.APIGatewayProxyRequest{
+		Path:                  req.URL.Path,
 		Resource:              req.URL.Path,
 		HTTPMethod:            req.Method,
 		QueryStringParameters: query,
-- 
GitLab