[API] Check post dupulication
This commit is contained in:
parent
c8479d103f
commit
47269a1782
3 changed files with 26 additions and 0 deletions
|
|
@ -65,6 +65,9 @@ export default (
|
|||
_user.id = _user._id;
|
||||
delete _user._id;
|
||||
|
||||
// Remove needless properties
|
||||
delete _user.lates_post;
|
||||
|
||||
// Remove private properties
|
||||
delete _user.password;
|
||||
delete _user.token;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue