Fix type issues

This commit is contained in:
Owen
2025-10-08 14:48:21 -07:00
committed by Pallavi Kumari
parent d938345deb
commit df24525105
3 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ export type CreateDomainResponse = {
aRecords?: { baseDomain: string; value: string }[];
txtRecords?: { baseDomain: string; value: string }[];
certResolver?: string | null;
preferWildcardCert?: boolean;
preferWildcardCert?: boolean | null;
};
// Helper to check if a domain is a subdomain or equal to another domain

View File

@@ -39,7 +39,7 @@ async function copyInDomains() {
domainId: key,
baseDomain: value.base_domain.toLowerCase(),
certResolver: value.cert_resolver || null,
preferWildcardCert: value.prefer_wildcard_cert || null
preferWildcardCert: value.prefer_wildcard_cert || null,
})
);

View File

@@ -25,7 +25,7 @@ export type DomainRow = {
tries: number;
configManaged: boolean;
certResolver: string;
customCertResolver: string;
preferWildcardCert: boolean;
};
type Props = {