mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
WIP(teams): show open tasks on user view
This commit is contained in:
@@ -385,7 +385,7 @@ api.getUserTasks = {
|
||||
url: '/tasks/user',
|
||||
middlewares: [authWithHeaders({
|
||||
// Some fields (including _id, preferences) are always loaded (see middlewares/auth)
|
||||
userFieldsToInclude: ['tasksOrder'],
|
||||
userFieldsToInclude: ['guilds', 'party', 'tasksOrder'],
|
||||
})],
|
||||
async handler (req, res) {
|
||||
const types = Tasks.tasksTypes.map(type => `${type}s`);
|
||||
|
||||
Reference in New Issue
Block a user