From b4e2e962e5b4184256914289138aacee241c5669 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 28 Jan 2024 05:22:11 -0500 Subject: [PATCH] fix: we can use modules in the builders after all --- api/api.go | 2 +- protocols/protocols.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/api.go b/api/api.go index 5649efa..cf3ee59 100644 --- a/api/api.go +++ b/api/api.go @@ -28,7 +28,7 @@ func BuildApis(config *viper.Viper) fx.Option { } } - return fx.Options(options...) + return fx.Module("api", fx.Options(options...)) } type LifecyclesParams struct { diff --git a/protocols/protocols.go b/protocols/protocols.go index f17330b..2f49703 100644 --- a/protocols/protocols.go +++ b/protocols/protocols.go @@ -28,7 +28,7 @@ func BuildProtocols(config *viper.Viper) fx.Option { } } - return fx.Options(options...) + return fx.Module("protocols", fx.Options(options...)) } type LifecyclesParams struct {