Fix missing model name
This commit is contained in:
parent
0ca900191d
commit
7c94d88e38
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user