fix: remove duplicate Db getter
This commit is contained in:
parent
c2075989fa
commit
d36bf67e85
|
@ -87,9 +87,6 @@ func (p *PortalImpl) Logger() *zap.Logger {
|
||||||
return p.logger
|
return p.logger
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *PortalImpl) Db() *gorm.DB {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
func (p *PortalImpl) ApiRegistry() interfaces.APIRegistry {
|
func (p *PortalImpl) ApiRegistry() interfaces.APIRegistry {
|
||||||
return p.apiRegistry
|
return p.apiRegistry
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,6 @@ type Portal interface {
|
||||||
Run()
|
Run()
|
||||||
Config() *viper.Viper
|
Config() *viper.Viper
|
||||||
Logger() *zap.Logger
|
Logger() *zap.Logger
|
||||||
Db() *gorm.DB
|
|
||||||
ApiRegistry() APIRegistry
|
ApiRegistry() APIRegistry
|
||||||
ProtocolRegistry() ProtocolRegistry
|
ProtocolRegistry() ProtocolRegistry
|
||||||
Identity() ed25519.PrivateKey
|
Identity() ed25519.PrivateKey
|
||||||
|
|
Loading…
Reference in New Issue