git add wifilocate debug
This commit is contained in:
parent
0c4cbe2e11
commit
43bd7e8773
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ class LocationViewSet(ViewSet):
|
|||
@list_route(methods=['POST'])
|
||||
def wifilocate(self, request):
|
||||
stations = json.loads(request.POST['stations'])[:200]
|
||||
print(stations)
|
||||
if not stations:
|
||||
return Response({})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue