fix: make these available for use
This commit is contained in:
parent
88abff575f
commit
c3ed7fe02c
1 changed files with 7 additions and 7 deletions
14
src/lib.rs
14
src/lib.rs
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue