fix: need to invoke storage init to setup tus

This commit is contained in:
Derrick Hammer 2024-01-31 21:28:02 -05:00
parent aff6e8106c
commit d88638dfc3
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 0 deletions

View File

@ -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 {