fix: missing fx.Annotate

This commit is contained in:
Derrick Hammer 2024-02-17 03:21:27 -05:00
parent 30b18a4ced
commit 12a5f3f631
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 8 additions and 4 deletions

View File

@ -42,9 +42,11 @@ func (u UploadMetadata) IsEmpty() bool {
var Module = fx.Module("metadata",
fx.Provide(
fx.Annotate(
NewMetadataService,
fx.As(new(MetadataService)),
),
),
)
type MetadataService interface {

View File

@ -36,9 +36,11 @@ type StorageProtocol interface {
var Module = fx.Module("storage",
fx.Provide(
fx.Annotate(
NewStorageService,
fx.As(new(StorageService)),
),
),
)
type StorageService interface {