diff --git a/chat/serializers.py b/chat/serializers.py index 76d95454..b1f5dbfc 100644 --- a/chat/serializers.py +++ b/chat/serializers.py @@ -18,7 +18,7 @@ class ChatSerializer(serializers.ModelSerializer): class PostMessageSerializer(serializers.ModelSerializer): class Meta: model = Message - fields = ("PGP_message", "order", "offset") + fields = ("PGP_message", "order_id", "offset") depth = 0 offset = serializers.IntegerField(