Associate imported review with import item

This commit is contained in:
Mouse Reeve
2021-11-13 11:44:05 -08:00
parent 1e2dca402b
commit 1e46de4c9d
4 changed files with 35 additions and 0 deletions

View File

@ -205,3 +205,5 @@ def handle_imported_book(item):
)
# only broadcast this review to other bookwyrm instances
review.save(software="bookwyrm", priority=LOW)
item.linked_review = review
item.save()