fix: dont return pointer
This commit is contained in:
parent
d212907f5d
commit
a410cc55f0
|
@ -100,7 +100,7 @@ type HttpHandlerParams struct {
|
||||||
type HttpHandlerResult struct {
|
type HttpHandlerResult struct {
|
||||||
fx.Out
|
fx.Out
|
||||||
|
|
||||||
HttpHandler *HttpHandler
|
HttpHandler HttpHandler
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewHttpHandler(params HttpHandlerParams) (HttpHandlerResult, error) {
|
func NewHttpHandler(params HttpHandlerParams) (HttpHandlerResult, error) {
|
||||||
|
@ -112,7 +112,7 @@ func NewHttpHandler(params HttpHandlerParams) (HttpHandlerResult, error) {
|
||||||
verifier.DisableAutoUpdateDisposable()
|
verifier.DisableAutoUpdateDisposable()
|
||||||
|
|
||||||
return HttpHandlerResult{
|
return HttpHandlerResult{
|
||||||
HttpHandler: &HttpHandler{
|
HttpHandler: HttpHandler{
|
||||||
verifier: verifier,
|
verifier: verifier,
|
||||||
config: params.Config,
|
config: params.Config,
|
||||||
logger: params.Logger,
|
logger: params.Logger,
|
||||||
|
|
Loading…
Reference in New Issue