From f04cdd1d85b6fe18b99d361ad22a5c7d94c7ec0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=95=9C=EB=8F=99=ED=98=84?= <hando1220@ajou.ac.kr> Date: Tue, 6 May 2025 00:57:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9D=B8=EC=A6=9D=EC=84=9C=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=9D=B8=EC=A6=9D=20?= =?UTF-8?q?=EB=B0=A9=EC=8B=9D=20=ED=91=9C=EC=8B=9C=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/certificate/List.tsx | 4 ++-- src/types/certificate.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/certificate/List.tsx b/src/pages/certificate/List.tsx index e7d13dd..7c43567 100644 --- a/src/pages/certificate/List.tsx +++ b/src/pages/certificate/List.tsx @@ -122,7 +122,7 @@ export default function CertificateList() { <div className="flex justify-between space-x-4"> <div className="space-y-1"> <p className="text-sm font-semibold"> - {certificate.dnsChallenge === null ? ( + {certificate.challenge === 'http' ? ( <Badge variant="secondary" className="mr-2"> HTTP </Badge> @@ -145,7 +145,7 @@ export default function CertificateList() { <TableCell>{certificate.expiresAt}</TableCell> <TableCell> <div className="flex justify-center items-center gap-1"> - {certificate.dnsChallenge === null ? ( + {certificate.challenge === 'http' ? ( <Badge variant="secondary"> <Globe className="h-3 w-3" /> HTTP diff --git a/src/types/certificate.ts b/src/types/certificate.ts index f2dbe0c..506af71 100644 --- a/src/types/certificate.ts +++ b/src/types/certificate.ts @@ -5,5 +5,5 @@ export interface Certificate { createdAt: string; updatedAt: string; expiresAt: string; - dnsChallenge: string | null; + challenge: string; } -- GitLab