From f89525d926ecac95d8b9db656b0b01eddfce502a Mon Sep 17 00:00:00 2001 From: Aaron Leopold <36278431+aaronleopold@users.noreply.github.com> Date: Sat, 16 Nov 2024 10:00:45 -0700 Subject: [PATCH] :bug: Update `koreader_hash` during visit --- core/src/filesystem/scanner/utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/filesystem/scanner/utils.rs b/core/src/filesystem/scanner/utils.rs index fb57017e1..57a602ea7 100644 --- a/core/src/filesystem/scanner/utils.rs +++ b/core/src/filesystem/scanner/utils.rs @@ -182,6 +182,7 @@ pub(crate) async fn update_media(db: &PrismaClient, media: Media) -> CoreResult< media::extension::set(media.extension.clone()), media::pages::set(media.pages), media::hash::set(media.hash.clone()), + media::koreader_hash::set(media.koreader_hash.clone()), media::path::set(media.path.clone()), media::status::set(media.status.to_string()), ],