diff --git a/.changeset/mean-elephants-boil.md b/.changeset/mean-elephants-boil.md new file mode 100644 index 0000000000000..fa091f08a8db9 --- /dev/null +++ b/.changeset/mean-elephants-boil.md @@ -0,0 +1,6 @@ +--- +'@rocket.chat/apps-engine': patch +'@rocket.chat/meteor': patch +--- + +Fixes an issue that would cause marketplace apps to become invalid installations after an update diff --git a/apps/meteor/ee/server/apps/communication/rest.ts b/apps/meteor/ee/server/apps/communication/rest.ts index 28f404fe5cc5f..938dae6e7c0ea 100644 --- a/apps/meteor/ee/server/apps/communication/rest.ts +++ b/apps/meteor/ee/server/apps/communication/rest.ts @@ -854,6 +854,8 @@ export class AppsRestApi { orchestrator.getRocketChatLogger().error('Error getting the App from the Marketplace:', e.response.data); return API.v1.internalError(); } + + permissionsGranted = this.bodyParams.permissionsGranted; } else { isPrivateAppUpload = true;