fix: dont return pointer

This commit is contained in:
Derrick Hammer 2024-01-28 04:22:49 -05:00
parent d212907f5d
commit a410cc55f0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -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,