fix: nip05 for postgres
This commit is contained in:
committed by
Greg Heartsfield
parent
05b08c7916
commit
c13961a5c4
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user