cache_bustere upgrade and static assets tests

This commit is contained in:
realaravinth
2021-04-30 21:34:44 +05:30
parent 343c37ae1c
commit c96f890236
8 changed files with 126 additions and 122 deletions

View File

@@ -62,7 +62,7 @@ pub async fn signup(
// }
if let Some(email) = &payload.email {
data.creds.email(Some(&email))?;
data.creds.email(&email)?;
}
let mut secret;
@@ -223,7 +223,7 @@ pub async fn set_email(
let username = id.identity().unwrap();
data.creds.email(Some(&payload.email))?;
data.creds.email(&payload.email)?;
let res = sqlx::query!(
"UPDATE mcaptcha_users set email = $1