|
|
@ -197,7 +197,7 @@ impl Database {
|
|
|
|
name: row.get(0)?,
|
|
|
|
name: row.get(0)?,
|
|
|
|
discriminator: row.get(1)?,
|
|
|
|
discriminator: row.get(1)?,
|
|
|
|
avatar: row.get(2)?,
|
|
|
|
avatar: row.get(2)?,
|
|
|
|
}))).map_err(|error| DatabaseError::Rusqlite(error))),
|
|
|
|
}))).map_err(DatabaseError::Rusqlite)),
|
|
|
|
Err(error) => Some(Err(DatabaseError::Rusqlite(error))),
|
|
|
|
Err(error) => Some(Err(DatabaseError::Rusqlite(error))),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|