refactor: register api after init

This commit is contained in:
Derrick Hammer 2024-03-17 08:42:25 -04:00
parent ae37a186a9
commit 3e48593675
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

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