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,8 +42,10 @@ func (u UploadMetadata) IsEmpty() bool {
var Module = fx.Module("metadata",
fx.Provide(
NewMetadataService,
fx.As(new(MetadataService)),
fx.Annotate(
NewMetadataService,
fx.As(new(MetadataService)),
),
),
)

View File

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