This commit is contained in:
parent
fecd2da25f
commit
c268f84d55
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ async fn request_mii_render(client: &State<Client>, mii_data: &str, path: &str)
|
||||||
#[rocket::get("/<pid>/<path>")]
|
#[rocket::get("/<pid>/<path>")]
|
||||||
pub async fn mii_render(pid: i32, path: &str, client: &State<Client>) -> Result<NamedFile, (Status, String)> {
|
pub async fn mii_render(pid: i32, path: &str, client: &State<Client>) -> Result<NamedFile, (Status, String)> {
|
||||||
let mii_data = {
|
let mii_data = {
|
||||||
let route = format!("https://account.spfn.net/api/v2/users/{pid}/mii");
|
let route = format!("https://account.spbr.net/api/v2/users/{pid}/mii");
|
||||||
let response = client.get(route)
|
let response = client.get(route)
|
||||||
.send()
|
.send()
|
||||||
.await;
|
.await;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue