1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 05:19:22 +00:00

Remove encoding fix

This commit is contained in:
Pierre HUBERT 2019-11-30 14:13:22 +01:00
parent a626a69771
commit 4e1ef8b5f1

View File

@ -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,