diff options
author | 2017-07-21 01:07:18 +0000 | |
---|---|---|
committer | 2017-07-21 01:07:19 +0000 | |
commit | edec11f71207d6df007460cd19ccab08201d60c6 (patch) | |
tree | 8854200678379d8df48ef314491c6d4ac5cda34f /api/__init__.py | |
parent | ac1f30a97b9c26762d66f2914928f1cb7e9a7697 (diff) | |
parent | d5a7303e3a1cf3b229ff505f5d0630360440106b (diff) |
Merge "Add API(v2) to add environment to task"
Diffstat (limited to 'api/__init__.py')
-rw-r--r-- | api/__init__.py | 3 |
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): |