Verified Commit 21005a69 authored by WorldTeacher's avatar WorldTeacher
Browse files

fix(hardcover): use self.server_url instead of self.booklore_url in fetchAndStoreHardcoverIds

self.booklore_url does not exist — the field is self.server_url
(readSetting('server_url')). Caused a false 'URL not configured' error
on every invocation.
parent 9517ba59
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5355,7 +5355,7 @@ Database:updateHardcoverId() when present.
Shows a summary InfoMessage when done.
--]]
function BookloreSync:fetchAndStoreHardcoverIds()
    if not self.booklore_url or self.booklore_url == "" then
    if not self.server_url or self.server_url == "" then
        UIManager:show(InfoMessage:new{
            text = _("Booklore URL is not configured."),
            timeout = 3,