From dd77f3836eac073f6d09bc4c868f8b52dd3db2fd Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Tue, 14 Nov 2023 14:00:58 +0000 Subject: [PATCH] Use domains in certificate json --- servers/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/api.go b/servers/api.go index 196518b..4ca3d63 100644 --- a/servers/api.go +++ b/servers/api.go @@ -29,7 +29,7 @@ type Certificate struct { RenewFailed bool `json:"renew_failed"` NotAfter time.Time `json:"not_after"` UpdatedAt time.Time `json:"updated_at"` - Domains []string `json:"domain"` + Domains []string `json:"domains"` } //go:embed find-owned-certs.sql