fix: nip05 for postgres

This commit is contained in:
thesimplekid
2023-03-03 08:57:23 -06:00
committed by Greg Heartsfield
parent 05b08c7916
commit c13961a5c4
3 changed files with 14 additions and 5 deletions
+4 -1
View File
@@ -384,7 +384,10 @@ impl Verifier {
}
}
}
Err(Error::SqlError(rusqlite::Error::QueryReturnedNoRows)) => {
Err(
Error::SqlError(rusqlite::Error::QueryReturnedNoRows)
| Error::SqlxError(sqlx::Error::RowNotFound),
) => {
// No users need verification. Reset the interval to
// the next verification attempt.
let start = tokio::time::Instant::now() + self.wait_after_finish;