treewide: complete book management interface

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: If5a21f16221f3c56a8008e139f93edc46a6a6964
This commit is contained in:
raf 2026-02-04 23:14:37 +03:00
commit 2f31242442
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
23 changed files with 1693 additions and 126 deletions

View file

@ -109,7 +109,7 @@ async fn main() -> Result<()> {
.server
.api_key
.as_ref()
.map_or(false, |k| !k.is_empty());
.is_some_and(|k| !k.is_empty());
let has_accounts = !config.accounts.users.is_empty();
if !has_api_key && !has_accounts {
tracing::error!("⚠️ No authentication method configured!");
@ -425,7 +425,6 @@ async fn main() -> Result<()> {
}
}
};
();
drop(cancel);
})
},