Mercurial > kallithea
comparison rhodecode/controllers/api/__init__.py @ 1994:419ad27763ab
removed id param from required api params. It was left over by mistake
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 16 Feb 2012 04:56:33 +0200 |
parents | 702e29ce1e9b |
children | 82a88013a3fd |
comparison
equal
deleted
inserted
replaced
1969:c81745c46b2d | 1994:419ad27763ab |
---|---|
116 % (e, urllib.unquote_plus(raw_body))) | 116 % (e, urllib.unquote_plus(raw_body))) |
117 | 117 |
118 # check AUTH based on API KEY | 118 # check AUTH based on API KEY |
119 try: | 119 try: |
120 self._req_api_key = json_body['api_key'] | 120 self._req_api_key = json_body['api_key'] |
121 self._req_id = json_body['id'] | |
122 self._req_method = json_body['method'] | 121 self._req_method = json_body['method'] |
123 self._request_params = json_body['args'] | 122 self._request_params = json_body['args'] |
124 log.debug('method: %s, params: %s', | 123 log.debug('method: %s, params: %s', |
125 self._req_method, | 124 self._req_method, |
126 self._request_params) | 125 self._request_params) |