From 7c94d88e38ecfa11ff4876f401841e541b97992f Mon Sep 17 00:00:00 2001 From: Merijn Hendriks Date: Tue, 28 Dec 2021 17:51:37 +0100 Subject: [PATCH] Fix missing model name --- src/server/Haru.Eft.Servers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/Haru.Eft.Servers.ts b/src/server/Haru.Eft.Servers.ts index 4672e04..b311149 100644 --- a/src/server/Haru.Eft.Servers.ts +++ b/src/server/Haru.Eft.Servers.ts @@ -1,6 +1,6 @@ import { HttpServer, WsServer, IServer } from "../common/Haru.Http"; import { Json } from "../common/Haru.Utils"; -import { PingNotification } from "./Haru.Eft.Models"; +import { PingNotificationModel } from "./Haru.Eft.Models"; import { CachedResponseService, CachedResponseHelper, FileResponseHelper, FileService } from "./Haru.Eft.Services"; export class ServerCluster @@ -80,7 +80,7 @@ export class NotificationServer implements IServer public constructor() { - const message = Json.serialize(new PingNotification()); + const message = Json.serialize(new PingNotificationModel()); this.httpServer = new HttpServer("localhost", 8001); this.wsServer = new WsServer(this.httpServer, message); }