[FIX] App update flow failing in HA setups (#23607)

* Update method call for Apps-Engine method

* Update Apps-Engine
pull/23645/head
Douglas Gubert 4 years ago committed by Diego Sampaio
parent 6dbd6aae66
commit 1131e0014c
No known key found for this signature in database
GPG Key ID: E060152B30502562
  1. 3
      app/apps/server/communication/websockets.js
  2. 6
      package-lock.json
  3. 2
      package.json

@ -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);
}

6
package-lock.json generated

@ -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",

@ -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",

Loading…
Cancel
Save