doc(middleware): Fix middleware interface in quickstart

The quickstart documentation has an incorrect example for process_resource middleware.
This commit is contained in:
Rahman Syed
2015-02-04 10:19:57 -06:00
committed by Rahman Syed
parent 5886e6482a
commit d9e4acccbd

View File

@@ -186,7 +186,7 @@ parameters, handling errors, and working with request and response bodies.
'JSON was incorrect or not encoded as '
'UTF-8.')
def process_response(self, req, resp):
def process_response(self, req, resp, resource):
if 'result' not in req.context:
return