1
0
Fork 0
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:
Maksim Eltyshev 2022-08-09 22:31:43 +02:00
parent 4555dafd75
commit eea94e0ee2
2 changed files with 12 additions and 5 deletions

View file

@ -70,8 +70,10 @@ module.exports = {
const accessToken = sails.helpers.utils.createToken(user.id, user.passwordUpdatedAt);
return {
accessToken,
item: user,
included: {
accessTokens: [accessToken],
},
};
}