From 436bb6ad91b259e24a6940f51e153c19740a8c82 Mon Sep 17 00:00:00 2001 From: mattiagiupponi <51856725+mattiagiupponi@users.noreply.github.com> Date: Tue, 31 May 2022 15:03:56 +0200 Subject: [PATCH] [Fixes #987] Fix migration map blob (#988) (#989) --- geonode_mapstore_client/migrations/0002_migrate_map_blob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geonode_mapstore_client/migrations/0002_migrate_map_blob.py b/geonode_mapstore_client/migrations/0002_migrate_map_blob.py index 15b0118cff..3f158ffeb8 100644 --- a/geonode_mapstore_client/migrations/0002_migrate_map_blob.py +++ b/geonode_mapstore_client/migrations/0002_migrate_map_blob.py @@ -56,7 +56,7 @@ def migrate_map_forward(apps, schema_editor): thumb = to_update.pop('thumbnail', None) if thumb and 'data:image/' not in thumb: - to_update['thumbnail_url'] = to_update.pop('thumbnail') + to_update['thumbnail_url'] = thumb ''' Updating the resource '''