From f8dd4cc52cd383ffa795fb0749ebc561c626f10c Mon Sep 17 00:00:00 2001 From: Ark2307 Date: Mon, 27 Nov 2023 11:43:50 +0530 Subject: [PATCH] registered enum to set default ui as new ui --- libs/dao/src/main/java/com/akto/DaoInit.java | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/dao/src/main/java/com/akto/DaoInit.java b/libs/dao/src/main/java/com/akto/DaoInit.java index 85ccda89a5..2555d94208 100644 --- a/libs/dao/src/main/java/com/akto/DaoInit.java +++ b/libs/dao/src/main/java/com/akto/DaoInit.java @@ -229,6 +229,7 @@ public static CodecRegistry createCodecRegistry(){ new EnumCodec<>(GlobalEnums.YamlTemplateSource.class), new EnumCodec<>(AktoGptConfigState.class), new EnumCodec<>(CustomWebhook.WebhookOptions.class), + new EnumCodec<>(User.AktoUIMode.class), new EnumCodec<>(TrafficMetricsAlert.FilterType.class)); return fromRegistries(MongoClientSettings.getDefaultCodecRegistry(), pojoCodecRegistry,