From 5d15d71da8c0f42f79b132be54780eeb0b77f33d Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 10 Oct 2024 13:31:12 +0800 Subject: [PATCH] chore: 1 --- packages/plugins/plugin-cert/src/libs/google.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/plugin-cert/src/libs/google.ts b/packages/plugins/plugin-cert/src/libs/google.ts index 81a24fc1..79bfcb1e 100644 --- a/packages/plugins/plugin-cert/src/libs/google.ts +++ b/packages/plugins/plugin-cert/src/libs/google.ts @@ -19,7 +19,7 @@ export class GoogleClient { const credentials = JSON.parse(access.serviceAccountSecret); const client = new v1.PublicCertificateAuthorityServiceClient({ credentials }); - const parent = `projects/${access.projectId}/locations/global`; + const parent = `projects/${credentials.projectId}/locations/global`; const externalAccountKey = {}; const request = { parent,