diff --git a/app/apps/server/communication/websockets.js b/app/apps/server/communication/websockets.js index 8be3edc38e0e..dd8da2b64c89 100644 --- a/app/apps/server/communication/websockets.js +++ b/app/apps/server/communication/websockets.js @@ -71,7 +71,8 @@ export class AppServerListener { const appPackage = await this.orch.getAppSourceStorage().fetch(storageItem); - await this.orch.getManager().update(appPackage); + await this.orch.getManager().updateLocal(storageItem, appPackage); + this.clientStreamer.emitWithoutBroadcast(AppEvents.APP_UPDATED, appId); } diff --git a/package-lock.json b/package-lock.json index d8bc7e649fd0..c679ed74f1db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5318,9 +5318,9 @@ } }, "@rocket.chat/apps-engine": { - "version": "1.28.0", - "resolved": "https://registry.npmjs.org/@rocket.chat/apps-engine/-/apps-engine-1.28.0.tgz", - "integrity": "sha512-ALrlGHVO1IhgAQ/rdZVS9nuPHwSE2VtPy3e2xbLzhMloZSpcG/ht9PPrDqIX6ZHHwiDxLbBd2/yT8vt86lXZeg==", + "version": "1.28.1", + "resolved": "https://registry.npmjs.org/@rocket.chat/apps-engine/-/apps-engine-1.28.1.tgz", + "integrity": "sha512-Cg3/sn/vkJ0tVBOmPysTj7syHMPOMWaBwzaumEO+U9oMhDyAAYU53itnV2oUw58fNveYprRracQBLhl8U/kDCg==", "requires": { "adm-zip": "^0.4.9", "cryptiles": "^4.1.3", diff --git a/package.json b/package.json index cdd13b6d6306..77fd4943a19b 100644 --- a/package.json +++ b/package.json @@ -160,7 +160,7 @@ "@nivo/heatmap": "0.73.0", "@nivo/line": "0.62.0", "@nivo/pie": "0.73.0", - "@rocket.chat/apps-engine": "1.28.0", + "@rocket.chat/apps-engine": "^1.28.1", "@rocket.chat/css-in-js": "^0.30.1", "@rocket.chat/emitter": "^0.30.1", "@rocket.chat/fuselage": "^0.30.1",