more api updates
This commit is contained in:
parent
d5e75fc880
commit
970d5c5d84
1 changed files with 1 additions and 2 deletions
|
@ -52,7 +52,7 @@ class ApiActions(dict):
|
|||
properties = {}
|
||||
def __init__(self):
|
||||
|
||||
def api(request):
|
||||
def api(request, data):
|
||||
'''
|
||||
returns list of all known api actions
|
||||
param data {
|
||||
|
@ -76,7 +76,6 @@ class ApiActions(dict):
|
|||
}
|
||||
}
|
||||
'''
|
||||
data = json.loads(request.POST.get('data', '{}'))
|
||||
docs = data.get('docs', False)
|
||||
code = data.get('code', False)
|
||||
_actions = self.keys()
|
||||
|
|
Loading…
Reference in a new issue