Skip to content

Commit

Permalink
fix(dre): Remove the double dash in the public dashboard api requests (
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic committed Jun 21, 2024
1 parent 7e1a187 commit b48ce72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/ic-management-backend/src/public_dashboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::path::PathBuf;
use tokio::io::{AsyncReadExt, BufReader};
use tokio::{fs::File, io::AsyncWriteExt};

const IC_DASHBOARD_API: &str = "https://ic-api.internetcomputer.org/api/";
const IC_DASHBOARD_API: &str = "https://ic-api.internetcomputer.org/api";
const IC_API_REFRESH_INTERVAL_SECONDS: u64 = 60 * 60; // 1h

pub async fn query_ic_dashboard_list<T: DeserializeOwned>(network: &Network, query_what: &str) -> anyhow::Result<T> {
Expand Down

0 comments on commit b48ce72

Please sign in to comment.