Merge pull request 'Fix default account level' (#70) from fix-tester-bug into main
All checks were successful
Build and Test / account (push) Successful in 3m3s
All checks were successful
Build and Test / account (push) Successful in 3m3s
Reviewed-on: #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"){
|
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(){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue