diff --git a/src/models/database.rs b/src/models/database.rs index d8774c6..71623e2 100644 --- a/src/models/database.rs +++ b/src/models/database.rs @@ -199,7 +199,7 @@ impl Database { discriminator: row.get(1)?, avatar: row.get(2)?, })) - }).map_err(|error| DatabaseError::Rusqlite(error)), + }).map_err(DatabaseError::Rusqlite), Err(error) => Err(DatabaseError::Rusqlite(error)), } })