summaryrefslogtreecommitdiffstats
path: root/api/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/__init__.py')
-rw-r--r--api/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/__init__.py b/api/__init__.py
index 3195c971b..c5aefffe8 100644
--- a/api/__init__.py
+++ b/api/__init__.py
@@ -45,8 +45,9 @@ class ApiResource(Resource):
return args
- def _dispatch_post(self):
+ def _dispatch_post(self, **kwargs):
action, args = self._post_args()
+ args.update(kwargs)
return self._dispatch(args, action)
def _dispatch(self, args, action):