1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 13:29: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 { private static UserToAPI(user : User, handler: RequestHandler) : Object {
return { return {
"userID": user.id, "userID": user.id,
"firstName": fixEncoding(user.firstName), "firstName": user.firstName,
"lastName": fixEncoding(user.lastName), "lastName": user.lastName,
"publicPage": user.pageStatus == UserPageStatus.PUBLIC, "publicPage": user.pageStatus == UserPageStatus.PUBLIC,
"openPage": user.pageStatus == UserPageStatus.OPEN, "openPage": user.pageStatus == UserPageStatus.OPEN,
"virtualDirectory": user.virtualDirectory, "virtualDirectory": user.virtualDirectory,