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,