fix: remove duplicate Db getter

This commit is contained in:
Derrick Hammer 2024-01-16 01:29:17 -05:00
parent c2075989fa
commit d36bf67e85
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 0 additions and 4 deletions

View File

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

View File

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