fix: Protocol needs to ve a slice

This commit is contained in:
Derrick Hammer 2024-01-28 04:17:47 -05:00
parent c326d9b61b
commit 2aec82281d
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: proto,
Protocol: []registry.Protocol{proto},
S5Protocol: proto,
}, nil
}