Skip to content

Commit e764e25

Browse files
[Fixes #222] Bug Patch Map Metadata through v2/api/maps not working
1 parent d41d42f commit e764e25

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

geonode/maps/api/views.py

-10
Original file line numberDiff line numberDiff line change
@@ -161,16 +161,6 @@ def perform_update(self, serializer):
161161
subtype="tabular-collection" if tabular_collection else None,
162162
)
163163
instance = serializer.update(instance,serializer.validated_data)
164-
# for key, value in serializer.validated_data.items():
165-
# if hasattr(instance, key):
166-
# try:
167-
# instance.__setattr__(key, value)
168-
# except ValueError:
169-
# pass
170-
# else:
171-
# raise KeyError(key)
172-
# instance.save()
173-
# return instance
174164

175165
# thumbnail, events and resouce routines
176166
self._post_change_routines(

0 commit comments

Comments
 (0)