Fix lint warnings
This commit is contained in:
@@ -133,6 +133,7 @@ impl<'a> Object<'a> for User {
|
||||
}
|
||||
|
||||
impl User {
|
||||
#[allow(dead_code)]
|
||||
pub async fn get_by_id(id: u64, session: &Session) -> Result<Option<Self>, DatabaseError> {
|
||||
let id = u64_to_i64(id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user