Browse Source

feat: DEFAULT_EXPIRED_YEARS put in public settings API

pull/14411/head
Bai 3 weeks ago committed by Bryan
parent
commit
8f4dd25e69
  1. 2
      apps/settings/serializers/public.py

2
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()

Loading…
Cancel
Save