Skip to content

Commit 7c280f1

Browse files
version update
1 parent c28f95d commit 7c280f1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@puzzle-js/sentry",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "PuzzleJS Content Management System",
55
"author": "Mehmet Sefa Balik @mehmetsefabalik",
66
"license": "MIT",
@@ -25,7 +25,7 @@
2525
"@nestjs/platform-socket.io": "^6.9.0",
2626
"@nestjs/serve-static": "^1.0.1",
2727
"@nestjs/websockets": "^6.9.0",
28-
"@puzzle-js/sentry-ui": "0.0.3",
28+
"@puzzle-js/sentry-ui": "0.0.4",
2929
"reflect-metadata": "^0.1.12",
3030
"rimraf": "^2.6.2",
3131
"rxjs": "^6.3.3",

src/gateway/gateway.gateway.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ export class GatewayGateway implements OnGatewayInit, OnGatewayConnection, OnGat
2727
}
2828

2929
@SubscribeMessage('panel.gateways.add')
30-
addForPanel(@MessageBody() fragment: Gateway) {
31-
this.gatewayService.add(fragment);
30+
addForPanel(@MessageBody() gateway: Gateway) {
31+
this.gatewayService.add(gateway);
3232
this.server.emit('panel.gateways', this.gatewayService.get());
33-
this.server.emit('gateway.add', fragment);
33+
this.server.emit('gateway.add', gateway);
3434
}
3535

3636
@SubscribeMessage('panel.gateways.update')
37-
updateForPanel(@MessageBody() fragment: Gateway) {
38-
const updateSuccessful = this.gatewayService.update(fragment);
37+
updateForPanel(@MessageBody() gateway: Gateway) {
38+
const updateSuccessful = this.gatewayService.update(gateway);
3939
if (!updateSuccessful) return;
4040
this.server.emit('panel.gateways', this.gatewayService.get());
41-
this.server.emit('gateway.update', fragment);
41+
this.server.emit('gateway.update', gateway);
4242
}
4343

4444
@SubscribeMessage('gateways.get')

0 commit comments

Comments
 (0)