app: fix bug in type hint conversion method

Signed-off-by: Eric Callahan  <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-03-16 09:13:05 -04:00
parent e990e64ccd
commit 62265fd086
1 changed files with 1 additions and 1 deletions

View File

@ -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",