mplace service install refactor

This commit is contained in:
Drew Ansbacher
2022-02-25 09:54:48 -07:00
committed by Drew Ansbacher
parent e3b002f2dd
commit 0e82825da1
4 changed files with 9 additions and 8 deletions

View File

@@ -77,10 +77,9 @@ export class WizardBaker {
verb: 'beginning update for',
title,
executeAction: () =>
this.embassyApi.installPackage({
this.marketplaceService.installPackage({
id,
'version-spec': version ? `=${version}` : undefined,
'marketplace-url': this.marketplaceService.marketplaceUrl,
}),
},
},
@@ -203,10 +202,9 @@ export class WizardBaker {
verb: 'beginning downgrade for',
title,
executeAction: () =>
this.embassyApi.installPackage({
this.marketplaceService.installPackage({
id,
'version-spec': version ? `=${version}` : undefined,
'marketplace-url': this.marketplaceService.marketplaceUrl,
}),
},
},