mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 03:16:24 +00:00
Fix order view arguments
This commit is contained in:
parent
1f756fed09
commit
44ddaef23b
@ -1,4 +1,4 @@
|
||||
from rest_framework import generics, status
|
||||
from rest_framework import status
|
||||
from rest_framework.views import APIView
|
||||
from rest_framework.response import Response
|
||||
|
||||
@ -10,7 +10,7 @@ from .models import Order
|
||||
class MakeOrder(APIView):
|
||||
serializer_class = MakeOrderSerializer
|
||||
|
||||
def post(self,request, format=None):
|
||||
def post(self,request):
|
||||
|
||||
serializer = self.serializer_class(data=request.data)
|
||||
print(serializer)
|
||||
|
Loading…
Reference in New Issue
Block a user