refactor: register api after init
This commit is contained in:
parent
ae37a186a9
commit
3e48593675
|
@ -32,6 +32,8 @@ func BuildApis(cm *config.Manager) fx.Option {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
registry.RegisterAPI(protocol)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue