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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
registry.RegisterAPI(protocol)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue