Unhardcode mii image URL
This commit is contained in:
parent
f2c6c80ef9
commit
a281b56cc8
1 changed files with 2 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ pub async fn get_miis(
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(file, img_type)| {
|
.map(|(file, img_type)| {
|
||||||
// dummy URL for now
|
// dummy URL for now
|
||||||
let url = format!("https://dummy.url.com/mii/{}/{}", row.pid, file);
|
let url = format!("{}/mii/{}/{}", get_mii_img_url(row.pid, "png"), row.pid, file);
|
||||||
MiiImage {
|
MiiImage {
|
||||||
cached_url: url.clone(),
|
cached_url: url.clone(),
|
||||||
id: mii_id,
|
id: mii_id,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue