mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-15 03:46:24 +00:00
Fix docs - add missing field in /api/book (#279)
This commit is contained in:
parent
936d19c6fc
commit
7d887804a0
@ -423,7 +423,8 @@ class OrderDetailSerializer(serializers.ModelSerializer):
|
|||||||
class OrderPublicSerializer(serializers.ModelSerializer):
|
class OrderPublicSerializer(serializers.ModelSerializer):
|
||||||
maker_nick = serializers.CharField(required=False)
|
maker_nick = serializers.CharField(required=False)
|
||||||
maker_status = serializers.CharField(help_text='Status of the nick - "Active" or "Inactive"', 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:
|
class Meta:
|
||||||
model = Order
|
model = Order
|
||||||
|
Loading…
Reference in New Issue
Block a user