no longer needed to pass instance to some model methods

This commit is contained in:
Laura Klünder 2024-08-22 14:17:19 +02:00
parent aab4230a3a
commit ca9cfc1e14
6 changed files with 24 additions and 30 deletions

View file

@ -105,7 +105,7 @@ def conditional_geojson(obj, update_cache_key_match):
if update_cache_key_match and not obj._affected_by_changeset:
return obj.get_geojson_key()
result = obj.to_geojson(instance=obj)
result = obj.to_geojson()
result['properties']['changed'] = obj._affected_by_changeset
return result