mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-06-11 19:03:21 +02:00
add some error handling, mostly to quiet warnings
This commit is contained in:
@ -198,8 +198,8 @@ impl UserDB {
|
||||
}
|
||||
|
||||
pub fn clear_txn(&self, txn: &mut RwTransaction) -> Result<(), db::Error> {
|
||||
self.db.clear(txn);
|
||||
Ok(())
|
||||
// TODO: why was the result ignored here?
|
||||
self.db.clear(txn)
|
||||
}
|
||||
|
||||
pub fn get_all(&self) -> Result<HashMap<String, UserData>, db::Error> {
|
||||
|
Reference in New Issue
Block a user