feat: thing

This commit is contained in:
Maple 2025-07-31 03:51:34 +02:00
commit d151100ecd
3 changed files with 7 additions and 2 deletions

View file

@ -153,7 +153,7 @@ async fn launch() -> _ {
json_api::users::mii::get_mii_data_by_pid, json_api::users::mii::get_mii_data_by_pid,
papi::login::login, papi::login::login,
papi::user::get_user, papi::user::get_user,
nnid::people::thing,
// graphql::graphiql, // graphql::graphiql,
// graphql::playground, // graphql::playground,
graphql::get_graphql, graphql::get_graphql,

View file

@ -26,7 +26,7 @@ const ACCOUNT_ID_OR_PASSWORD_ERRORS: Errors = Errors{
const ACCOUNT_BANNED_ERRORS: Errors = Errors{ const ACCOUNT_BANNED_ERRORS: Errors = Errors{
error: &[ error: &[
Error{ Error{
code: "0122", code: "0123",
message: "Device has been banned by game server" message: "Device has been banned by game server"
} }
] ]

View file

@ -399,4 +399,9 @@ pub async fn change_mii(
println!("Successfully updated Mii data for PID {}", pid); println!("Successfully updated Mii data for PID {}", pid);
Ok(()) Ok(())
}
#[post("/v1/api/people/@me/agreements")]
pub async fn thing(){
} }