mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-22 03:00:10 +00:00
Use location local variable fix
This commit is contained in:
parent
64a5045fd8
commit
6254d800a8
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ class RequestValidator(object):
|
|||
location = request.parameters[param.location.value]
|
||||
|
||||
try:
|
||||
raw = request.parameters[param.location.value][param.name]
|
||||
raw = location[param.name]
|
||||
except KeyError:
|
||||
raise MissingParameter(
|
||||
"Missing required `{0}` parameter".format(param.name))
|
||||
|
|
Loading…
Reference in a new issue