From d82a9c9253cb14b56dc7591904e31dc5390b5170 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Wed, 23 Oct 2024 18:45:36 +0800 Subject: [PATCH] fix tencent cos ui onload verify --- ui/src/components/certimate/DeployToTencentCOS.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/certimate/DeployToTencentCOS.tsx b/ui/src/components/certimate/DeployToTencentCOS.tsx index 645b9c30..b2f62a56 100644 --- a/ui/src/components/certimate/DeployToTencentCOS.tsx +++ b/ui/src/components/certimate/DeployToTencentCOS.tsx @@ -47,7 +47,7 @@ const DeployToTencentCOS = () => { }, []); useEffect(() => { - const regionResp = regionSchema.safeParse(data.config?.bucket); + const regionResp = regionSchema.safeParse(data.config?.region); if (!regionResp.success) { setError({ ...error,