forked from spacebar/account
Merge pull request 'Fix default account level' (#70) from fix-tester-bug into main
Reviewed-on: spacebar/account#70
This commit is contained in:
commit
3c3b8bf91c
1 changed files with 2 additions and 2 deletions
|
|
@ -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"){
|
||||
-1
|
||||
} else {
|
||||
1
|
||||
0
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -496,4 +496,4 @@ pub async fn change_mii(
|
|||
#[post("/v1/api/people/@me/agreements")]
|
||||
pub async fn thing(){
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue