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 {
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user