Changeset - 419ad27763ab
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 14 years ago 2012-02-16 03:56:33
marcin@python-works.com
removed id param from required api params. It was left over by mistake
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/api/__init__.py
Show inline comments
 
@@ -115,13 +115,12 @@ class JSONRPCController(WSGIController):
 
            return jsonrpc_error(message="JSON parse error ERR:%s RAW:%r" \
 
                                 % (e, urllib.unquote_plus(raw_body)))
 

	
 
        # check AUTH based on API KEY
 
        try:
 
            self._req_api_key = json_body['api_key']
 
            self._req_id = json_body['id']
 
            self._req_method = json_body['method']
 
            self._request_params = json_body['args']
 
            log.debug('method: %s, params: %s',
 
                      self._req_method,
 
                      self._request_params)
 
        except KeyError, e:
0 comments (0 inline, 0 general)