feat: moved the timestamp function to lib

This commit is contained in:
silver 2023-07-30 01:32:01 +01:00
parent 4ce3e94c36
commit 72776a967a
4 changed files with 17 additions and 13 deletions

View file

@ -150,7 +150,7 @@ async fn db_pending_clear_expired(pool: &Pool<Sqlite>) -> Result<Vec<AccountsPen
WHERE expiry < ?
"#,
)
.bind(now)
.bind(get_now_iso(true))
.fetch_all(pool)
.await
}