From bf899c869271df94eef1c33070c40477e4c2afcf Mon Sep 17 00:00:00 2001 From: Dev-CasperTheGhost <53900565+Dev-CasperTheGhost@users.noreply.github.com> Date: Sat, 13 Nov 2021 07:33:53 +0100 Subject: [PATCH] :bug: fix: minor bug fix (closes #150) --- packages/api/src/controllers/dispatch/Calls911Controller.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/api/src/controllers/dispatch/Calls911Controller.ts b/packages/api/src/controllers/dispatch/Calls911Controller.ts index 5959cd7da..63f809b85 100644 --- a/packages/api/src/controllers/dispatch/Calls911Controller.ts +++ b/packages/api/src/controllers/dispatch/Calls911Controller.ts @@ -78,7 +78,7 @@ export class Calls911Controller { }, }); - this.socket.emitUpdate911Call(this.officerOrDeputyToUnit(updated)); + this.socket.emit911Call(this.officerOrDeputyToUnit(updated)); return this.officerOrDeputyToUnit(updated); } @@ -162,6 +162,8 @@ export class Calls911Controller { }, }); + this.socket.emit911CallDelete(call); + return true; }