mirror of
https://github.com/ankitects/anki.git
synced 2026-01-07 02:53:54 -05:00
Update rslib/src/storage/sqlite.rs
Co-authored-by: user1823 <92206575+user1823@users.noreply.github.com>
This commit is contained in:
parent
68a49b1f4f
commit
fe50593bf9
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ fn add_extract_fsrs_relative_retrievability(db: &Connection) -> rusqlite::Result
|
|||
(now as u32).saturating_sub(due as u32)
|
||||
} else {
|
||||
// timing.days_elapsed
|
||||
let Ok(today) = ctx.get_raw(2).as_i64() else {
|
||||
let Ok(today) = ctx.get_raw(3).as_i64() else {
|
||||
return Ok(None);
|
||||
};
|
||||
let review_day = due.saturating_sub(interval);
|
||||
|
|
|
|||
Loading…
Reference in a new issue