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", var Module = fx.Module("metadata",
fx.Provide( fx.Provide(
NewMetadataService, fx.Annotate(
fx.As(new(MetadataService)), NewMetadataService,
fx.As(new(MetadataService)),
),
), ),
) )

View File

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