forked from 0x2620/pandora
data is passed to api functions now
This commit is contained in:
parent
5e130a7c9b
commit
ceb507020b
19 changed files with 126 additions and 238 deletions
|
|
@ -71,7 +71,7 @@ def order_query(qs, sort):
|
|||
qs = qs.order_by(*order_by, nulls_last=True)
|
||||
return qs
|
||||
|
||||
def findClips(request):
|
||||
def findClips(request, data):
|
||||
'''
|
||||
takes {
|
||||
query: {
|
||||
|
|
@ -93,7 +93,6 @@ def findClips(request):
|
|||
items: [object]
|
||||
}
|
||||
'''
|
||||
data = json.loads(request.POST['data'])
|
||||
response = json_response()
|
||||
|
||||
query = parse_query(data, request.user)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue