You've already forked AstralRinth
forked from didirus/AstralRinth
Fix ariadne req URL (#531)
This commit is contained in:
@@ -81,7 +81,7 @@ pub async fn count_download(
|
|||||||
let client = reqwest::Client::new();
|
let client = reqwest::Client::new();
|
||||||
|
|
||||||
client
|
client
|
||||||
.post(format!("{}downloads", dotenvy::var("ARIADNE_URL")?))
|
.post(format!("{}download", dotenvy::var("ARIADNE_URL")?))
|
||||||
.header("Modrinth-Admin", dotenvy::var("ARIADNE_ADMIN_KEY")?)
|
.header("Modrinth-Admin", dotenvy::var("ARIADNE_ADMIN_KEY")?)
|
||||||
.json(&json!({
|
.json(&json!({
|
||||||
"ip": download_body.ip,
|
"ip": download_body.ip,
|
||||||
|
|||||||
Reference in New Issue
Block a user