fix: result actually needs value group item without slice

This commit is contained in:
Derrick Hammer 2024-01-28 04:35:43 -05:00
parent 646a65f814
commit 6c31a0a79f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ type S5ProtocolParams struct {
type S5ProtocolResult struct {
fx.Out
Protocol []registry.Protocol `group:"protocol"`
Protocol registry.Protocol `group:"protocol"`
S5Protocol *S5Protocol
}
@ -66,7 +66,7 @@ func NewS5Protocol(
}
return S5ProtocolResult{
Protocol: []registry.Protocol{proto},
Protocol: proto,
S5Protocol: proto,
}, nil
}