sort newest first
This commit is contained in:
@@ -143,7 +143,8 @@ class GameObjectsManager{
|
||||
this.list = async function(query = {}){
|
||||
return await db.list(collection, {
|
||||
query,
|
||||
project: { name:1, id:1, type:1, asset:1}
|
||||
project: { name:1, id:1, type:1, asset:1},
|
||||
sort: { id: -1 }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user