mirror of
https://github.com/plankanban/planka.git
synced 2025-07-21 06:09:43 +02:00
ref: Little change for consistency
This commit is contained in:
parent
4555dafd75
commit
eea94e0ee2
2 changed files with 12 additions and 5 deletions
|
@ -70,8 +70,10 @@ module.exports = {
|
|||
const accessToken = sails.helpers.utils.createToken(user.id, user.passwordUpdatedAt);
|
||||
|
||||
return {
|
||||
accessToken,
|
||||
item: user,
|
||||
included: {
|
||||
accessTokens: [accessToken],
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue