fix: we can use modules in the builders after all

This commit is contained in:
Derrick Hammer 2024-01-28 05:22:11 -05:00
parent d51c52b985
commit b4e2e962e5
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 2 additions and 2 deletions

View File

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

View File

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