diff --git a/.changeset/mean-elephants-boil.md b/.changeset/mean-elephants-boil.md new file mode 100644 index 0000000000000000000000000000000000000000..fa091f08a8db9b51357eadbed0c9e3d8d4d2552f --- /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 28f404fe5cc5fa0f5c3f1f487a7f17b67bf59c2b..938dae6e7c0eafc74d514f508b62444de433fafb 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;