feat: DEFAULT_EXPIRED_YEARS put in public settings API

pull/14411/head
Bai 3 weeks ago committed by Bryan
parent 9c8762e3a0
commit 8f4dd25e69

@ -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