mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 13:29:22 +00:00
Remove encoding fix
This commit is contained in:
parent
a626a69771
commit
4e1ef8b5f1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user