Unverified Commit 19764331 authored by Ali Farooq's avatar Ali Farooq Committed by Jesse Hallam

MM-16368 - Plugin Signing (#972)

* MM-18796 - Add POST `/plugins/marketplace` API to redux (#938)

* MM-18796 - Add POST '/plugins/marketplace'  API to redux

* Removing installMarketplacePlugin request reducer

* 馃敤 linting

* MM-19318 - Update tracking events when marketplace plugin is ins鈥 (#943)
parent bd0321b0
......@@ -2702,6 +2702,15 @@ export default class Client4 {
);
}
installMarketplacePlugin = async (id: string, version: string) => {
this.trackEvent('api', 'api_install_marketplace_plugin');
return this.doFetch(
`${this.getPluginsMarketplaceRoute()}`,
{method: 'post', body: JSON.stringify({id, version})}
);
}
getPluginStatuses = async () => {
return this.doFetch(
`${this.getPluginsRoute()}/statuses`,
......@@ -2981,6 +2990,7 @@ export default class Client4 {
'api_interactive_messages_menu_selected',
'api_interactive_messages_dialog_submitted',
'ui_marketplace_download',
'ui_marketplace_download_update',
'ui_marketplace_configure',
'ui_marketplace_opened',
'ui_marketplace_closed',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment