Skip to content

Commit

Permalink
Change the field
Browse files Browse the repository at this point in the history
Signed-off-by: Yuanmao Zhu <[email protected]>
  • Loading branch information
zhuyuanmao committed Nov 5, 2022
1 parent 9d98b0f commit f39ad3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api-engine/api/routes/channel/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class ChannelUpdateSerializer(serializers.Serializer):
msp_id = serializers.CharField(
max_length=128, help_text="MSP ID of Organization")
data = serializers.FileField(help_text="Channel config file")
org_type = serializers.CharField(
max_length=24, help_text="Organization type", choices=ORG_CHOICES)
org_type = serializers.ChoiceField(
help_text="Organization type", choices=ORG_CHOICES)


class ChannelOrgListSerializer(serializers.Serializer):
Expand Down

0 comments on commit f39ad3d

Please sign in to comment.