mirror of
https://github.com/viq/NewsBlur.git
synced 2025-11-01 09:09:16 +00:00
Special case for method, now used for the first time apparently.
This commit is contained in:
parent
2338555eb7
commit
eb61ce0e82
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ class required_params(object):
|
|||
|
||||
# Check if parameter is correct type
|
||||
for param, param_type in self.named_params.items():
|
||||
if param == "method": continue
|
||||
if getattr(request, self.method).get(param) is None:
|
||||
print " Typed parameter not found: %s" % param
|
||||
return self.disallowed(param)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue