We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54395c4 commit ed0ee8eCopy full SHA for ed0ee8e
1 file changed
api/factory/runs.py
@@ -248,12 +248,12 @@ def get_hash_runs(params: HashParams) -> List[Hash]:
248
hash_data["event_attributes"] = event_attributes
249
250
# handle geo_map_url
251
- if post_attr.get("geo_map_url") is None and \
252
- post_attr.get("geo_lat") is not None and post_attr.get("geo_long") is not None:
+ if hash_data.get("geo_map_url") is None and \
+ hash_data.get("geo_lat") is not None and hash_data.get("geo_long") is not None:
253
254
hash_data["geo_map_url"] = config.app_settings.maps_url_template.format(
255
- lat=post_attr.get("geo_lat"),
256
- long=post_attr.get("geo_long")
+ lat=hash_data.get("geo_lat"),
+ long=hash_data.get("geo_long")
257
)
258
259
# parse event data
0 commit comments