fix: forgot to make fields public

This commit is contained in:
silver 2023-07-29 23:10:19 +01:00
parent f4e9ece04c
commit 3a6325c722

View file

@ -10,12 +10,12 @@ use tide::prelude::*;
#[derive(Debug, Deserialize, Serialize, sqlx::FromRow)]
pub struct AccountsNew {
mail: String,
auth_code: String,
date_iso: String,
date_expiry: String,
name_first: String,
name_surname: String,
pub mail: String,
pub auth_code: String,
pub date_iso: String,
pub date_expiry: String,
pub name_first: String,
pub name_surname: String,
}
#[derive(Debug, Deserialize, Serialize, sqlx::FromRow)]