From 828dcf83aba5016345a99a29cb5445eb4bd81656 Mon Sep 17 00:00:00 2001 From: Chomp Date: Tue, 31 Dec 2024 11:25:45 +0000 Subject: [PATCH] Fixed send message failing --- project/src/helpers/NotificationSendHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/helpers/NotificationSendHelper.ts b/project/src/helpers/NotificationSendHelper.ts index 55a19119..ccd207e5 100644 --- a/project/src/helpers/NotificationSendHelper.ts +++ b/project/src/helpers/NotificationSendHelper.ts @@ -26,7 +26,7 @@ export class NotificationSendHelper { */ public sendMessage(sessionID: string, notificationMessage: IWsNotificationEvent): void { if (this.sptWebSocketConnection.isConnectionWebSocket(sessionID)) { - this.sptWebSocketConnection.sendMessage(sessionID, notificationMessage); + this.sptWebSocketConnection.sendMessageAsync(sessionID, notificationMessage); } else { this.notificationService.add(sessionID, notificationMessage); }