fix: make these available for use

This commit is contained in:
silver 2023-07-30 01:19:06 +01:00
parent 88abff575f
commit c3ed7fe02c

View file

@ -34,13 +34,13 @@ pub struct AccountsPending {
#[derive(Debug, Deserialize, Serialize, sqlx::FromRow)]
pub struct Accounts {
user: String,
uid: i64,
discord: Option<String>,
mail: String,
student_id: String,
enabled: bool,
secure: bool,
pub user: String,
pub uid: i64,
pub discord: Option<String>,
pub mail: String,
pub student_id: String,
pub enabled: bool,
pub secure: bool,
}
pub async fn db_init(config: &Config) -> Result<Pool<Sqlite>, Error> {