pull/236/head
v-me-50 2025-06-17 10:01:14 +08:00
parent 426b358d56
commit 8e2e4918eb
1 changed files with 3 additions and 0 deletions

View File

@ -217,6 +217,9 @@ func GetAccountList(search, ca string, p, limit int64) ([]map[string]interface{}
return nil, 0, fmt.Errorf("failed to get account list: %w", err)
}
for i := range data {
if data[i]["type"] == "Let's Encrypt" {
data[i]["type"] = "letsencrypt"
}
data[i]["ca"] = data[i]["type"]
delete(data[i], "private_key")
delete(data[i], "reg")