summaryrefslogtreecommitdiffstats
path: root/api/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/base.py')
-rw-r--r--api/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/base.py b/api/base.py
index 6fa2777ce..6a4ba12c3 100644
--- a/api/base.py
+++ b/api/base.py
@@ -47,8 +47,9 @@ class ApiResource(Resource):
action, args = self._post_args()
return self._dispatch(args, action)
- def _dispatch_get(self):
+ def _dispatch_get(self, **kwargs):
args = self._get_args()
+ args.update(kwargs)
return self._dispatch(args)
def _dispatch(self, args, action='default'):