refactor: need to alias as interface
This commit is contained in:
parent
6845dac609
commit
b231f9d769
|
@ -43,6 +43,7 @@ func (u UploadMetadata) IsEmpty() bool {
|
||||||
var Module = fx.Module("metadata",
|
var Module = fx.Module("metadata",
|
||||||
fx.Provide(
|
fx.Provide(
|
||||||
NewMetadataService,
|
NewMetadataService,
|
||||||
|
fx.As(new(MetadataService)),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue