diff --git a/main.py b/main.py index a67df13..de8ee59 100644 --- a/main.py +++ b/main.py @@ -68,7 +68,7 @@ async def dispatch(self, request: Request, call_next): cache = {} cache_max_size = 128 def find_id_type(tid: str): - tid = tid.upper() + tid = str(tid).upper() # Check if result is in cache if tid in cache: