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 bd967bbae..0f1e76a57 100644
--- a/api/base.py
+++ b/api/base.py
@@ -48,8 +48,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'):