Skip to content

Commit 9df6aac

Browse files
committed
Merge branch 'hotfix/anonymize-keen-ip'
[SVCS-878]
2 parents 637d8d7 + 500d143 commit 9df6aac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mfr/core/remote_logging.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ async def log_analytics(request, metrics, is_error=False):
3535
{ # private
3636
'name': 'keen:ip_to_geo',
3737
'input': {
38-
'ip': 'tech.ip'
38+
'ip': 'tech.ip',
39+
'remove_ip_property': True,
3940
},
4041
'output': 'geo',
4142
},
@@ -178,7 +179,7 @@ def _build_public_file_payload(action, request, file_metadata):
178179
'request': {
179180
'url': request['request']['url']
180181
},
181-
'anon': {
182+
'anon': { # intended for anonymized geolocation, never implemented
182183
'country': None,
183184
'continent': None,
184185
},

0 commit comments

Comments
 (0)