Skip to content

Commit 54cec60

Browse files
committed
Remove unusable plugin install endpoint
1 parent 24ec41b commit 54cec60

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

lib/EnvoyAPI.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -362,24 +362,6 @@ class EnvoyAPI {
362362
return EnvoyAPI.getDataFromBody(body);
363363
}
364364

365-
/**
366-
* Fetches a plugin install.
367-
*
368-
* @param {number} installId
369-
* @returns {Promise<{}>}
370-
*/
371-
async getPluginInstall(installId) {
372-
return new Promise((resolve, reject) => {
373-
this.request({
374-
method: 'GET',
375-
url: `/api/v2/plugin-services/installs/${installId}`,
376-
}).then(body => resolve(EnvoyAPI.getDataFromBody(body)))
377-
.catch((error) => {
378-
EnvoyAPI.safeRequestsError(error).catch((err) => reject(err));
379-
});
380-
});
381-
}
382-
383365
/**
384366
* Gets the plugin install's config.
385367
*

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envoy/envoy-integrations-sdk",
3-
"version": "1.4.2",
3+
"version": "1.5.0",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)