Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(controllers): correct typo in file names

Steven Enamakel1c0eb14629bb
diff --git a/crates/openhuman-core/src/channels/controllers/ops/discord.rs b/crates/openhuman-core/src/channels/controllers/ops/discord.rs
index e806bdbab3..585cbadf1d 100644
--- a/crates/openhuman-core/src/channels/controllers/ops/discord.rs
+++ b/crates/openhuman-core/src/channels/controllers/ops/discord.rs
@@ -85,7 +85,7 @@ pub async fn discord_link_check(
let client = BackendOAuthClient::new(&api_url).map_err(|e| e.to_string())?;
let user_payload = client
- .fetch_current_user(&jwt)
+ .fetch_profile(&jwt)
.await
.map_err(|e| format!("failed to fetch user profile: {e}"))?;
diff --git a/crates/openhuman-core/src/channels/controllers/ops/telegram.rs b/crates/openhuman-core/src/channels/controllers/ops/telegram.rs
index 835eaf12b4..5a7db0da41 100644
--- a/crates/openhuman-core/src/channels/controllers/ops/telegram.rs
+++ b/crates/openhuman-core/src/channels/controllers/ops/telegram.rs
@@ -107,7 +107,7 @@ pub async fn telegram_login_check(
let client = BackendOAuthClient::new(&api_url).map_err(|e| e.to_string())?;
let user_payload = client
- .fetch_current_user(&jwt)
+ .fetch_profile(&jwt)
.await
.map_err(|e| format!("failed to fetch user profile: {e}"))?;