app: fix bug in type hint conversion method
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
e990e64ccd
commit
62265fd086
|
@ -275,7 +275,7 @@ class DynamicRequestHandler(AuthorizedRequestHandler):
|
|||
else self._default_parser
|
||||
|
||||
# Converts query string values with type hints
|
||||
def _convert_type(value, hint):
|
||||
def _convert_type(self, value, hint):
|
||||
type_funcs = {
|
||||
"int": int, "float": float,
|
||||
"bool": lambda x: x.lower() == "true",
|
||||
|
|
Loading…
Reference in New Issue