Browse Source

fix: 修改 public settings API公告字段类型为 dict

pull/8311/head
Jiangjie.Bai 3 years ago committed by Jiangjie.Bai
parent
commit
42202bd528
  1. 2
      apps/settings/serializers/public.py

2
apps/settings/serializers/public.py

@ -40,6 +40,6 @@ class PrivateSettingSerializer(PublicSettingSerializer):
TERMINAL_KOKO_SSH_ENABLED = serializers.BooleanField() TERMINAL_KOKO_SSH_ENABLED = serializers.BooleanField()
ANNOUNCEMENT_ENABLED = serializers.BooleanField() ANNOUNCEMENT_ENABLED = serializers.BooleanField()
ANNOUNCEMENT = serializers.CharField() ANNOUNCEMENT = serializers.DictField()
TICKETS_ENABLED = serializers.BooleanField() TICKETS_ENABLED = serializers.BooleanField()

Loading…
Cancel
Save