mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
performance: private messages - API (#11077)
* paging for inbox * clean up
This commit is contained in:
@@ -95,7 +95,7 @@ async function _getUserDataForExport (user, xmlMode = false) {
|
||||
userId: user._id,
|
||||
}).exec(),
|
||||
|
||||
inboxLib.getUserInbox(user, false),
|
||||
inboxLib.getUserInbox(user, { asArray: false }),
|
||||
]);
|
||||
|
||||
userData.inbox.messages = messages;
|
||||
|
||||
Reference in New Issue
Block a user