fix: encode stringified URL

This commit is contained in:
Derrick Hammer 2024-01-10 09:53:35 -05:00
parent ac11da28c0
commit bc9e5f187c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ func EncodeMsgpackArray(enc *msgpack.Encoder, array interface{}) error {
return err
}
for _, item := range v {
err = enc.Encode(item)
err = enc.EncodeString(item.String())
if err != nil {
return err
}