fix: metadata service not passed in construction
This commit is contained in:
parent
fc042570ab
commit
8f78f6fe87
|
@ -79,6 +79,7 @@ type APIParams struct {
|
||||||
Identity ed25519.PrivateKey
|
Identity ed25519.PrivateKey
|
||||||
Accounts *account.AccountServiceDefault
|
Accounts *account.AccountServiceDefault
|
||||||
Storage storage.StorageService
|
Storage storage.StorageService
|
||||||
|
Metadata metadata.MetadataService
|
||||||
Db *gorm.DB
|
Db *gorm.DB
|
||||||
Protocols []protoRegistry.Protocol `group:"protocol"`
|
Protocols []protoRegistry.Protocol `group:"protocol"`
|
||||||
Logger *zap.Logger
|
Logger *zap.Logger
|
||||||
|
@ -97,6 +98,7 @@ func NewS5(params APIParams) (S5ApiResult, error) {
|
||||||
identity: params.Identity,
|
identity: params.Identity,
|
||||||
accounts: params.Accounts,
|
accounts: params.Accounts,
|
||||||
storage: params.Storage,
|
storage: params.Storage,
|
||||||
|
metadata: params.Metadata,
|
||||||
db: params.Db,
|
db: params.Db,
|
||||||
protocols: params.Protocols,
|
protocols: params.Protocols,
|
||||||
logger: params.Logger,
|
logger: params.Logger,
|
||||||
|
|
Loading…
Reference in New Issue