feat: moved the timestamp function to lib
This commit is contained in:
parent
4ce3e94c36
commit
72776a967a
4 changed files with 17 additions and 13 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue