Skip to content

Commit

Permalink
Update apps/meteor/server/services/omnichannel-voip/helper.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
murtaza98 committed May 24, 2022
1 parent 3d3d470 commit 64b9022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/server/services/omnichannel-voip/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IVoipRoom } from '@rocket.chat/core-typings';
import { PbxEvent } from '../../../app/models/server/raw';

export const calculateOnHoldTimeForRoom = async (room: IVoipRoom, closedAt: Date): Promise<number> => {
if (!room || !room.callUniqueId) {
if (!room.callUniqueId) {
return 0;
}

Expand Down

0 comments on commit 64b9022

Please sign in to comment.