fix share link pin fingerprint type

This commit is contained in:
cola-prince 2026-07-02 20:03:50 +08:00
parent d90305c788
commit bf00cf40e3

View file

@ -117,7 +117,7 @@ func prepareTls(t *model.Tls) map[string]interface{} {
return nil
}
if fp := CertSha256Hex(CertPEMFromTLS(iTls)); fp != "" {
oTls["certificate_public_key_sha256"] = []string{fp}
oTls["certificate_public_key_sha256"] = []interface{}{fp}
}
for k, v := range iTls {