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
|
||||
}
|
||||
|
||||
func (p *PortalImpl) Db() *gorm.DB {
|
||||
return nil
|
||||
}
|
||||
func (p *PortalImpl) ApiRegistry() interfaces.APIRegistry {
|
||||
return p.apiRegistry
|
||||
}
|
||||
|
|
|
@ -13,7 +13,6 @@ type Portal interface {
|
|||
Run()
|
||||
Config() *viper.Viper
|
||||
Logger() *zap.Logger
|
||||
Db() *gorm.DB
|
||||
ApiRegistry() APIRegistry
|
||||
ProtocolRegistry() ProtocolRegistry
|
||||
Identity() ed25519.PrivateKey
|
||||
|
|
Loading…
Reference in New Issue