From da3dca1cbb89f57db94388e9e468a631f0dea977 Mon Sep 17 00:00:00 2001 From: Zhen Lu Date: Mon, 6 May 2024 11:37:45 -0700 Subject: [PATCH] Use LIGHTSPARK_EXAMPLE_BASE_URL for consistency. --- lightspark/examples/example.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightspark/examples/example.rs b/lightspark/examples/example.rs index 01b9599..5548efc 100644 --- a/lightspark/examples/example.rs +++ b/lightspark/examples/example.rs @@ -32,7 +32,7 @@ async fn main() { let api_token = std::env::var("LIGHTSPARK_API_TOKEN_CLIENT_SECRET").unwrap(); let node_password = std::env::var("LIGHTSPARK_TEST_NODE_PASSWORD").unwrap(); - let base_url = std::env::var("LIGHTSPARK_API_ENDPOINT").unwrap(); + let base_url = std::env::var("LIGHTSPARK_EXAMPLE_BASE_URL").unwrap(); // Create LightsparkClient let auth_provider = AccountAuthProvider::new(api_id, api_token);