Fix bookmark website metadata not being updated when URL changes (#400)

This commit is contained in:
Sascha Ißbrücker
2023-01-20 20:59:09 +01:00
committed by GitHub
parent 43d52642a6
commit 021d1cd673
2 changed files with 35 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ def update_bookmark(bookmark: Bookmark, tag_string, current_user: User):
tasks.create_web_archive_snapshot(current_user, bookmark, True)
# Only update website metadata if URL changed
_update_website_metadata(bookmark)
bookmark.save()
return bookmark