Skip to content

Commit

Permalink
Merge pull request #488 from ldhbenecia/feature/getMogaco
Browse files Browse the repository at this point in the history
[Refactor] 모각코 리스트 생성일 내림차순으로 조회 구현
  • Loading branch information
ldhbenecia authored Dec 14, 2023
2 parents 5cc513d + 4f0dde1 commit ed7dfda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/backend/src/mogaco-boards/mogaco-boards.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export class MogacoRepository {
include: {
group: true,
},
orderBy: {
createdAt: 'desc',
},
skip,
take: pageSize,
});
Expand All @@ -80,6 +83,9 @@ export class MogacoRepository {
include: {
group: true,
},
orderBy: {
createdAt: 'desc',
},
});
}

Expand Down

0 comments on commit ed7dfda

Please sign in to comment.