From a410cc55f02c4a38dcd5460f8a7a154327dfbd74 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 28 Jan 2024 04:22:49 -0500 Subject: [PATCH] fix: dont return pointer --- api/s5/http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/s5/http.go b/api/s5/http.go index 634f09e..9d51028 100644 --- a/api/s5/http.go +++ b/api/s5/http.go @@ -100,7 +100,7 @@ type HttpHandlerParams struct { type HttpHandlerResult struct { fx.Out - HttpHandler *HttpHandler + HttpHandler HttpHandler } func NewHttpHandler(params HttpHandlerParams) (HttpHandlerResult, error) { @@ -112,7 +112,7 @@ func NewHttpHandler(params HttpHandlerParams) (HttpHandlerResult, error) { verifier.DisableAutoUpdateDisposable() return HttpHandlerResult{ - HttpHandler: &HttpHandler{ + HttpHandler: HttpHandler{ verifier: verifier, config: params.Config, logger: params.Logger,