Merge pull request 'Fix default account level' (#70) from fix-tester-bug into main

Reviewed-on: spacebar/account#70
This commit is contained in:
redbinder0526 2026-07-05 11:14:07 +02:00
commit 3c3b8bf91c

View file

@ -101,7 +101,7 @@ pub async fn create_account(database: &State<Pool>, data: Xml<AccountCreationDat
let account_level = if user_id.to_lowercase().contains("omey"){ let account_level = if user_id.to_lowercase().contains("omey"){
-1 -1
} else { } else {
1 0
}; };
@ -496,4 +496,4 @@ pub async fn change_mii(
#[post("/v1/api/people/@me/agreements")] #[post("/v1/api/people/@me/agreements")]
pub async fn thing(){ pub async fn thing(){
} }