diff --git a/src/endpoints/achievements/verify_briq.rs b/src/endpoints/achievements/verify_briq.rs index 06a30f49..8a71f192 100644 --- a/src/endpoints/achievements/verify_briq.rs +++ b/src/endpoints/achievements/verify_briq.rs @@ -46,7 +46,7 @@ pub async fn handler( Ok(Some(_)) => (StatusCode::OK, Json(json!({"achieved": true}))).into_response(), Ok(None) => { let url = format!( - "https://api.briq.construction/v1/user/data/starknet-mainnet/{}", + "https://api.briq.construction/v1/user/data/starknet-mainnet-dojo/{}", to_hex(addr) ); match fetch_json_from_url(url).await { @@ -57,7 +57,7 @@ pub async fn handler( for set in sets_array.iter() { if let serde_json::Value::String(set_str) = set { let url = format!( - "https://api.briq.construction/v1/metadata/starknet-mainnet/{}", + "https://api.briq.construction/v1/metadata/starknet-mainnet-dojo/{}", set_str ); match fetch_json_from_url(url).await { diff --git a/src/endpoints/quests/element/briq/verify_own_briq.rs b/src/endpoints/quests/element/briq/verify_own_briq.rs index bdde2e5e..98bcb512 100644 --- a/src/endpoints/quests/element/briq/verify_own_briq.rs +++ b/src/endpoints/quests/element/briq/verify_own_briq.rs @@ -30,7 +30,7 @@ pub async fn handler( } let url = format!( - "https://api.briq.construction/v1/user/data/starknet-mainnet/{}", + "https://api.briq.construction/v1/user/data/starknet-mainnet-dojo/{}", to_hex(query.addr) ); match fetch_json_from_url(url).await { @@ -41,7 +41,7 @@ pub async fn handler( for set in sets_array.iter() { if let serde_json::Value::String(set_str) = set { let url = format!( - "https://api.briq.construction/v1/metadata/starknet-mainnet/{}", + "https://api.briq.construction/v1/metadata/starknet-mainnet-dojo/{}", set_str ); match fetch_json_from_url(url).await {