Browse Source

fix: 修改应用账号序列类添加token字段

pull/6294/head
Bai 3 years ago committed by Jiangjie.Bai
parent
commit
2ca659414e
  1. 2
      apps/applications/serializers/application.py

2
apps/applications/serializers/application.py

@ -105,4 +105,4 @@ class ApplicationUserSerializer(SystemUserSerializer):
class ApplicationUserWithAuthInfoSerializer(ApplicationUserSerializer): class ApplicationUserWithAuthInfoSerializer(ApplicationUserSerializer):
class Meta(ApplicationUserSerializer.Meta): class Meta(ApplicationUserSerializer.Meta):
fields = ApplicationUserSerializer.Meta.fields + ['password'] fields = ApplicationUserSerializer.Meta.fields + ['password', 'token']

Loading…
Cancel
Save