Clean up
This commit is contained in:
parent
325cd03a59
commit
1fca8d322c
6 changed files with 27 additions and 39 deletions
|
|
@ -21,6 +21,7 @@ export default (params: any, user: ILocalUser, app: IApp) => new Promise(async (
|
|||
|
||||
// Send response
|
||||
res(await pack(ap, user, {
|
||||
detail: true,
|
||||
includeSecret: isSecure && ap.userId.equals(user._id)
|
||||
}));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue