fix: need to invoke storage init to setup tus
This commit is contained in:
parent
aff6e8106c
commit
d88638dfc3
|
@ -49,6 +49,9 @@ var Module = fx.Module("storage",
|
||||||
fx.Provide(
|
fx.Provide(
|
||||||
NewStorageService,
|
NewStorageService,
|
||||||
),
|
),
|
||||||
|
fx.Invoke(func(s *StorageServiceDefault) error {
|
||||||
|
return s.init()
|
||||||
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
type StorageServiceDefault struct {
|
type StorageServiceDefault struct {
|
||||||
|
|
Loading…
Reference in New Issue