Skip to content

Commit

Permalink
[Fixes #987] Fix migration map blob (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi authored May 23, 2022
1 parent fd5a07c commit 72fbec6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
'''
Expand Down

0 comments on commit 72fbec6

Please sign in to comment.