🐛 Svg generated using dicebear shall use unique ids
This commit is contained in:
@@ -125,7 +125,7 @@ async fn fetch_dicebear_svg(
|
||||
let seed = Alphanumeric.sample_string(&mut rand::thread_rng(), 16);
|
||||
let type_str = r#type.to_string();
|
||||
let url = format!(
|
||||
"https://{url}/7.x/{type_str}/svg?seed={seed}{}{}",
|
||||
"https://{url}/8.x/{type_str}/svg?seed={seed}&randomizeIds=true{}{}",
|
||||
if !req_fields.is_empty() { "&" } else { " " },
|
||||
req_fields.join("&")
|
||||
);
|
||||
|
Reference in New Issue
Block a user