mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
built-in-server endpoint to install plugins: fix parameter name
GitOrigin-RevId: a60ca621ec512ef6a69c0772a74c1092897f4ee0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d68420a2d8
commit
a721aa6463
@@ -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() != "[]"
|
||||
|
||||
Reference in New Issue
Block a user