From 8f4dd25e69341fbcad65ed1fbcbf8fe2dedc6afa Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 1 Nov 2024 17:51:54 +0800 Subject: [PATCH] feat: DEFAULT_EXPIRED_YEARS put in public settings API --- apps/settings/serializers/public.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/settings/serializers/public.py b/apps/settings/serializers/public.py index bf1ad6e34..f4da62162 100644 --- a/apps/settings/serializers/public.py +++ b/apps/settings/serializers/public.py @@ -66,6 +66,8 @@ class PrivateSettingSerializer(PublicSettingSerializer): LOKI_LOG_ENABLED = serializers.BooleanField() TOOL_USER_ENABLED = serializers.BooleanField() + DEFAULT_EXPIRED_YEARS = serializers.IntegerField() + class ServerInfoSerializer(serializers.Serializer): CURRENT_TIME = serializers.DateTimeField()