From 7d887804a04605217d5df2510ebf5eb3cc1b79d0 Mon Sep 17 00:00:00 2001 From: redphix <113045766+redphix@users.noreply.github.com> Date: Tue, 11 Oct 2022 22:56:06 +0530 Subject: [PATCH] Fix docs - add missing field in /api/book (#279) --- api/serializers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/serializers.py b/api/serializers.py index 0f714e2d..478c0fad 100644 --- a/api/serializers.py +++ b/api/serializers.py @@ -423,7 +423,8 @@ class OrderDetailSerializer(serializers.ModelSerializer): class OrderPublicSerializer(serializers.ModelSerializer): maker_nick = serializers.CharField(required=False) maker_status = serializers.CharField(help_text='Status of the nick - "Active" or "Inactive"', required=False) - price = serializers.IntegerField(help_text="Price in order's fiat currency", required=False) + price = serializers.FloatField(help_text="Price in order's fiat currency", required=False) + satoshis_now = serializers.IntegerField(help_text="The amount of sats to be traded at the present moment (not including the fees)", required=False) class Meta: model = Order