From 7cb0069e38914d1e02238b3df68960efef834b42 Mon Sep 17 00:00:00 2001 From: Terje Karlsen Date: Sat, 7 Oct 2023 08:34:42 +0200 Subject: [PATCH] =?UTF-8?q?Endrer=20name=20p=C3=A5=20unleash=20api-token-d?= =?UTF-8?q?eploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .nais/unleash/unleash-api-token.dev.yaml | 2 +- .nais/unleash/unleash-api-token.prod.yaml | 2 +- src/server/api-handlers/features.ts | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.nais/unleash/unleash-api-token.dev.yaml b/.nais/unleash/unleash-api-token.dev.yaml index 6eb232e23..fdf16ec71 100644 --- a/.nais/unleash/unleash-api-token.dev.yaml +++ b/.nais/unleash/unleash-api-token.dev.yaml @@ -9,6 +9,6 @@ spec: unleashInstance: apiVersion: unleash.nais.io/v1 kind: RemoteUnleash - name: navno + name: personbruker secretName: nav-dekoratoren-unleash-api-token environment: development diff --git a/.nais/unleash/unleash-api-token.prod.yaml b/.nais/unleash/unleash-api-token.prod.yaml index edb8115eb..d22d179b7 100644 --- a/.nais/unleash/unleash-api-token.prod.yaml +++ b/.nais/unleash/unleash-api-token.prod.yaml @@ -9,7 +9,7 @@ spec: unleashInstance: apiVersion: unleash.nais.io/v1 kind: RemoteUnleash - name: navno + name: personbruker secretName: nav-dekoratoren-unleash-api-token # Specify which environment the API token should be created for. diff --git a/src/server/api-handlers/features.ts b/src/server/api-handlers/features.ts index d320cd48a..e5c1f5c53 100644 --- a/src/server/api-handlers/features.ts +++ b/src/server/api-handlers/features.ts @@ -20,9 +20,6 @@ export const getFeaturesHandler: RequestHandler = async (req, res) => { return; } - console.log(`unleashapi - ${UNLEASH_SERVER_API_URL}`); - console.log(`unleastoken partly - ${UNLEASH_SERVER_API_TOKEN.substring(0, 5)}`); - try { const unleash = await startUnleash({ url: UNLEASH_SERVER_API_URL,