From 4e1ef8b5f1ff0766a1870b177a213ec17bbdc4c8 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 30 Nov 2019 14:13:22 +0100 Subject: [PATCH] Remove encoding fix --- src/controllers/UserController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/UserController.ts b/src/controllers/UserController.ts index 8c73102..8ede570 100644 --- a/src/controllers/UserController.ts +++ b/src/controllers/UserController.ts @@ -51,8 +51,8 @@ export class UserController { private static UserToAPI(user : User, handler: RequestHandler) : Object { return { "userID": user.id, - "firstName": fixEncoding(user.firstName), - "lastName": fixEncoding(user.lastName), + "firstName": user.firstName, + "lastName": user.lastName, "publicPage": user.pageStatus == UserPageStatus.PUBLIC, "openPage": user.pageStatus == UserPageStatus.OPEN, "virtualDirectory": user.virtualDirectory,