We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4658451 commit bc9d404Copy full SHA for bc9d404
horizon/enforcer/api.py
@@ -44,7 +44,6 @@
44
KongWrappedAuthorizationQuery,
45
)
46
from horizon.enforcer.schemas_v1 import AuthorizationQueryV1
47
-from horizon.enforcer.utils.headers_utils import get_case_insensitive
48
from horizon.enforcer.utils.mapping_rules_utils import MappingRulesUtils
49
from horizon.enforcer.utils.statistics_utils import StatisticsManager
50
from horizon.state import PersistentStateHandler
@@ -201,7 +200,7 @@ def get_v1_processed_query(result: dict) -> Optional[dict]:
201
200
202
203
def get_v2_processed_query(result: dict) -> Optional[dict]:
204
- return result.get("debug", {}).get("input", None)
+ return (result.get("debug", {}) or {}).get("input", None)
205
206
207
async def notify_seen_sdk(
0 commit comments