fix allowed routes check

This commit is contained in:
Ishaan Jaff 2025-04-16 17:36:00 -07:00
parent 4fe81bc9f7
commit f75aaaba49

View file

@ -1273,7 +1273,7 @@ async def generate_key_helper_fn( # noqa: PLR0915
"blocked": blocked,
"created_by": created_by,
"updated_by": updated_by,
"allowed_routes": allowed_routes,
"allowed_routes": allowed_routes or [],
}
if (