mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
sort by creatrion date
This commit is contained in:
parent
dfb0e46313
commit
1938916e56
@ -24,6 +24,7 @@ export default async (req, res) => {
|
||||
}
|
||||
|
||||
let playlists = await Playlist.find(searchQuery)
|
||||
.sort({ created_at: -1 })
|
||||
.catch((err) => false)
|
||||
//.limit(limit)
|
||||
//.skip(offset)
|
||||
|
Loading…
x
Reference in New Issue
Block a user