Skip to content

Commit b64952e

Browse files
committed
update sort
1 parent 1e3156b commit b64952e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/app.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ export class AppService {
502502
const data = await this.videoModel.find(filter)
503503
.limit(TAKE_SIZE * 1)
504504
.skip((page - 1) * TAKE_SIZE)
505-
.sort({ start_at: 'desc' })
505+
.sort({ created_at: 'desc' })
506506
.populate({
507507
path: 'streamer',
508508
populate: {

0 commit comments

Comments
 (0)