X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2890d9e9df234b3e13fb0581337bc2d678ffdcb0..4628276e4a8f159cded83f8dbf7ec8239705f84a:/src/depot/publishers/legimi.py?ds=sidebyside diff --git a/src/depot/publishers/legimi.py b/src/depot/publishers/legimi.py index 6802d149..e6fe5b54 100644 --- a/src/depot/publishers/legimi.py +++ b/src/depot/publishers/legimi.py @@ -261,7 +261,7 @@ class Legimi(BasePublisher): site_book.external_id = legimi_id site_book.save(update_fields=['external_id']) - self.edit_sale(book) + self.edit_sale(site_book) def get_genre(self, wlbook): if wlbook.meta.legimi and wlbook.meta.legimi in self.CATEGORIES: