Use domains in certificate json

This commit is contained in:
Melon 2023-11-14 14:00:58 +00:00
parent c08e73ecfc
commit dd77f3836e
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -29,7 +29,7 @@ type Certificate struct {
RenewFailed bool `json:"renew_failed"` RenewFailed bool `json:"renew_failed"`
NotAfter time.Time `json:"not_after"` NotAfter time.Time `json:"not_after"`
UpdatedAt time.Time `json:"updated_at"` UpdatedAt time.Time `json:"updated_at"`
Domains []string `json:"domain"` Domains []string `json:"domains"`
} }
//go:embed find-owned-certs.sql //go:embed find-owned-certs.sql