From a721aa6463c98ac4def51f3fffbe9f69f0939cc2 Mon Sep 17 00:00:00 2001 From: Ivan Chirkov Date: Thu, 16 Jan 2020 00:29:06 +0100 Subject: [PATCH] built-in-server endpoint to install plugins: fix parameter name GitOrigin-RevId: a60ca621ec512ef6a69c0772a74c1092897f4ee0 --- .../src/org/jetbrains/ide/InstallPluginService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/built-in-server/src/org/jetbrains/ide/InstallPluginService.kt b/platform/built-in-server/src/org/jetbrains/ide/InstallPluginService.kt index d952c0121225..fce7b1c7b0eb 100644 --- a/platform/built-in-server/src/org/jetbrains/ide/InstallPluginService.kt +++ b/platform/built-in-server/src/org/jetbrains/ide/InstallPluginService.kt @@ -64,7 +64,7 @@ internal class InstallPluginService : RestService() { .newFromEncoded(ApplicationInfoImpl.getShadowInstance().pluginManagerUrl.trimEnd('/') + "/api/getCompatibleUpdates") .addParameters(mapOf( "build" to getBuildNumberForDownload(), - "pluginId" to pluginId, + "pluginXmlId" to pluginId, "max" to "1" )) val compatibleUpdateExists = HttpRequests.request(url).readString() != "[]"