Browse Source

[Bugfix] 修复上传command log 为空

pull/1715/head
ibuler 6 years ago
parent
commit
483a7617ce
  1. 2
      apps/terminal/backends/command/serializers.py

2
apps/terminal/backends/command/serializers.py

@ -12,6 +12,6 @@ class SessionCommandSerializer(serializers.Serializer):
input = serializers.CharField(max_length=128)
output = serializers.CharField(max_length=1024, allow_blank=True)
session = serializers.CharField(max_length=36)
org_id = serializers.CharField(max_length=36, required=False, default='', allow_null=True)
org_id = serializers.CharField(max_length=36, required=False, default='', allow_null=True, allow_blank=True)
timestamp = serializers.IntegerField()

Loading…
Cancel
Save