Fixed CreatedBy/LastChangedBy not returned in getTags
MODIFY
src/storage/mongodb/UserStorage.ts
src/storage/mongodb/UserStorage.ts
@@ -836,6 +836,8 @@ export default class UserStorage {
DatabaseUtils.pushRenameDatabaseID(aggregation);
// Convert Object ID to string
DatabaseUtils.pushConvertObjectIDToString(aggregation, 'userID');
+ // Add Created By / Last Changed By
+ DatabaseUtils.pushCreatedLastChangedInAggregation(tenantID, aggregation);
// Project
DatabaseUtils.projectFields(aggregation, projectFields);
// Read DB

Fixed CreatedBy/LastChangedBy not returned in getTags