Skip to content

Commit

Permalink
🐛 Update koreader_hash during visit
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronleopold committed Nov 16, 2024
1 parent 564e2cb commit f89525d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/filesystem/scanner/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),

Check warning on line 185 in core/src/filesystem/scanner/utils.rs

View check run for this annotation

Codecov / codecov/patch

core/src/filesystem/scanner/utils.rs#L185

Added line #L185 was not covered by tests
media::path::set(media.path.clone()),
media::status::set(media.status.to_string()),
],
Expand Down

0 comments on commit f89525d

Please sign in to comment.