Skip to content

Commit

Permalink
fix: fix desktop install event
Browse files Browse the repository at this point in the history
  • Loading branch information
pengpeng committed Sep 20, 2024
1 parent 2eb43e4 commit 8b9d4ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
branches:
- "main"

- "fix/desktop_install_event"
tags:
- 'v*'
jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- "main"
- "fix/desktop_install_event"
tags:
- 'v*'

Expand Down
7 changes: 5 additions & 2 deletions packages/server2/src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@ export class AppController {

const payload = event.data.data.payload;

broadcastWebsocketMessage({
const res = {
event: 'app_installation_event',
// data: event.data.data,
data: payload,
});
};
this.logger.debug('app_installation_event2');
console.log(res);
broadcastWebsocketMessage(res);

return returnSucceed(null);
}
Expand Down

0 comments on commit 8b9d4ec

Please sign in to comment.