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,