mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 09:54:55 +00:00
Order users by creation date in ascending order
This commit is contained in:
@ -37,6 +37,9 @@ export class ProjectUserService {
|
|||||||
'isEnabled',
|
'isEnabled',
|
||||||
],
|
],
|
||||||
relations: ['roleType'],
|
relations: ['roleType'],
|
||||||
|
order: {
|
||||||
|
createdAt: 'ASC',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const normalizedUsers = allUsers.map((user) => {
|
const normalizedUsers = allUsers.map((user) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user