Skip to content

Commit

Permalink
[FIX] App update flow failing in HA setups (#23607)
Browse files Browse the repository at this point in the history
* Update method call for Apps-Engine method

* Update Apps-Engine
  • Loading branch information
d-gubert authored Nov 3, 2021
1 parent b092bef commit 6deb095
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion app/apps/server/communication/websockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6deb095

Please sign in to comment.