Skip to content

Commit

Permalink
🐛 fix: minor bug fix (closes #150)
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Nov 13, 2021
1 parent ba7bf52 commit bf899c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/api/src/controllers/dispatch/Calls911Controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class Calls911Controller {
},
});

this.socket.emitUpdate911Call(this.officerOrDeputyToUnit(updated));
this.socket.emit911Call(this.officerOrDeputyToUnit(updated));

return this.officerOrDeputyToUnit(updated);
}
Expand Down Expand Up @@ -162,6 +162,8 @@ export class Calls911Controller {
},
});

this.socket.emit911CallDelete(call);

return true;
}

Expand Down

0 comments on commit bf899c8

Please sign in to comment.