Skip to content

Commit

Permalink
fix: Update config fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
antonyagustine committed Dec 4, 2023
1 parent 5622da1 commit 9713258
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -460,12 +460,12 @@ export default class ImportMarketplaceApps {
* app. It contains the following properties:
*/
async updateAppsConfig(app: Installation): Promise<void> {
const { uid, configuration, server_configuration } = app;
const { installation_uid, configuration, server_configuration } = app;

if (!isEmpty(configuration)) {
await this.appSdk
.marketplace(this.importConfig.org_uid)
.installation(uid)
.installation(installation_uid)
.setConfiguration(this.nodeCrypto.decrypt(configuration))
.then(({ data }: any) => {
if (data?.message) {
Expand All @@ -484,7 +484,7 @@ export default class ImportMarketplaceApps {
if (!isEmpty(server_configuration)) {
await this.appSdk
.marketplace(this.importConfig.org_uid)
.installation(uid)
.installation(installation_uid)
.setServerConfig(this.nodeCrypto.decrypt(server_configuration))
.then(({ data }: any) => {
if (data?.message) {
Expand Down

0 comments on commit 9713258

Please sign in to comment.