fix: use plugin service route for remote uninstall (#27223)

This commit is contained in:
Eric Ning
2026-06-09 12:52:05 -07:00
committed by GitHub
parent 6e7ab52929
commit 7a7cee1be4
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1124,7 +1124,7 @@ pub async fn uninstall_remote_plugin(
let plugin_name = plugin.name;
let base_url = config.chatgpt_base_url.trim_end_matches('/');
let url = format!("{base_url}/plugins/{plugin_id}/uninstall");
let url = format!("{base_url}/ps/plugins/{plugin_id}/uninstall");
let client = build_reqwest_client();
let request = authenticated_request(client.post(&url), auth)?;
let response: RemotePluginMutationResponse = send_and_decode(request, &url).await?;