Skip to content

Commit

Permalink
merge #288: 내가 작성한 게시글 목록 반환 에러 해결
Browse files Browse the repository at this point in the history
[fix] 내가 작성한 게시글 목록 반환 에러 해결
  • Loading branch information
yaongmeow authored Dec 7, 2023
2 parents aeaf78e + e91f9c0 commit aed698d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BE/src/postings/repositories/postings.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class PostingsRepository {
.createQueryBuilder('p')
.leftJoinAndSelect('p.writer', 'w')
.where('p.writer = :userId', { userId })
.orderBy('post.createdAt', 'DESC')
.orderBy('p.createdAt', 'DESC')
.getMany();
}

Expand Down

0 comments on commit aed698d

Please sign in to comment.