From ddd963a9409af2cda02d62bef017b58d9ab00201 Mon Sep 17 00:00:00 2001 From: armandocomellas1 Date: Fri, 16 Feb 2024 16:31:08 -0600 Subject: [PATCH] Changing the route that we need for the GCP telemetry Signed-off-by: armandocomellas1 --- plugins/gcp-projects/src/api/GcpClient.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/gcp-projects/src/api/GcpClient.ts b/plugins/gcp-projects/src/api/GcpClient.ts index 484b57e1c4..449a99a5a5 100644 --- a/plugins/gcp-projects/src/api/GcpClient.ts +++ b/plugins/gcp-projects/src/api/GcpClient.ts @@ -33,7 +33,7 @@ export class GcpClient implements GcpApi { headers: { Accept: '*/*', Authorization: `Bearer ${await this.getToken()}`, - 'X-Goog-Api-Client': `backstage/cloudbuild/${version}`, + 'X-Goog-Api-Client': `backstage/gcpprojects/${version}`, }, }); @@ -52,7 +52,7 @@ export class GcpClient implements GcpApi { const response = await fetch(url, { headers: { Authorization: `Bearer ${await this.getToken()}`, - 'X-Goog-Api-Client': `backstage/cloudbuild/${version}`, + 'X-Goog-Api-Client': `backstage/gcpprojects/${version}`, }, }); @@ -79,7 +79,7 @@ export class GcpClient implements GcpApi { headers: { Accept: '*/*', Authorization: `Bearer ${await this.getToken()}`, - 'X-Goog-Api-Client': `backstage/cloudbuild/${version}`, + 'X-Goog-Api-Client': `backstage/gcpprojects/${version}`, }, body: JSON.stringify(newProject), });