From 1502906c09002834a26571440b83b4046f49a585 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 2 Apr 2020 11:07:43 +0200 Subject: [PATCH] Fix bad check --- src/controllers/UserWebSocketActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/UserWebSocketActions.ts b/src/controllers/UserWebSocketActions.ts index 0b1923b..e7482ec 100644 --- a/src/controllers/UserWebSocketActions.ts +++ b/src/controllers/UserWebSocketActions.ts @@ -167,7 +167,7 @@ export class UserWebSocketActions { UserWebSocketController.SendToClient(client, new WsMessage({ id: "", title: "comment_updated", - data: await CommentsController.CommentToAPI(new AbritraryUserConnection(client.userID), comment, true) + data: await CommentsController.CommentToAPI(new AbritraryUserConnection(client.userID), comment) })) } }