fix: encode stringified URL
This commit is contained in:
parent
ac11da28c0
commit
bc9e5f187c
|
@ -16,7 +16,7 @@ func EncodeMsgpackArray(enc *msgpack.Encoder, array interface{}) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
for _, item := range v {
|
for _, item := range v {
|
||||||
err = enc.Encode(item)
|
err = enc.EncodeString(item.String())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue