0.7.15
add owner_type
This commit is contained in:
@@ -159,7 +159,8 @@ def find_routes_ajax(request):
|
||||
if not data and request.body:
|
||||
data = json.loads(request.body)
|
||||
|
||||
data['owner_type'] = 'mover'
|
||||
if not 'owner_type' in data:
|
||||
data['owner_type'] = 'mover'
|
||||
routes_Dict = get_routes_Dict(data=data)
|
||||
if 'errors' in routes_Dict:
|
||||
return JsonResponse(routes_Dict, status=400)
|
||||
|
||||
Reference in New Issue
Block a user