From 0281789184374d13aa0e305d5e7347a078b8682e Mon Sep 17 00:00:00 2001 From: Marius Syverstad Fossum Date: Thu, 9 Jan 2025 10:00:12 +0100 Subject: [PATCH] IS-2986: Fjernet isSokEnabled fra unleash --- server/unleash.ts | 1 - src/data/unleash/types/unleash_types.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/server/unleash.ts b/server/unleash.ts index f715cc40..393f2b25 100644 --- a/server/unleash.ts +++ b/server/unleash.ts @@ -39,6 +39,5 @@ export function getToggles(veilederId: any, enhetId: any) { }; return { isFlexjarArenaEnabled: unleash.isEnabled('isFlexjarArenaEnabled', context), - isSokEnabled: unleash.isEnabled('isSokEnabled', context), }; } diff --git a/src/data/unleash/types/unleash_types.ts b/src/data/unleash/types/unleash_types.ts index 4c324696..bfd63709 100644 --- a/src/data/unleash/types/unleash_types.ts +++ b/src/data/unleash/types/unleash_types.ts @@ -5,10 +5,8 @@ export type Toggles = { // See toggles: https://teamsykefravr-unleash-web.nav.cloud.nais.io/features export enum ToggleNames { isFlexjarArenaEnabled = 'isFlexjarArenaEnabled', - isSokEnabled = 'isSokEnabled', } export const defaultToggles: Toggles = { isFlexjarArenaEnabled: false, - isSokEnabled: false, };