Skip to content

Commit da42586

Browse files
Fix KeyError in _handle_success method
1 parent 4609192 commit da42586

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

minfraud/webservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _handle_success(
7878
200,
7979
uri,
8080
) from ex
81-
if "ip_address" in body:
81+
if "ip_address" in decoded_body:
8282
decoded_body["ip_address"]["_locales"] = self._locales
8383
return model_class(decoded_body) # type: ignore
8484

0 commit comments

Comments
 (0)