Skip to content

Commit

Permalink
fix : 폴더 찾을 때 id 를 _id로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hye-on committed Jul 25, 2024
1 parent 5d3882d commit e73e5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/posts/posts.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class PostsService {
) {
await this.folderRepository.findOneOrFail({
userId: userId,
id: dto.folderId,
_id: dto.folderId,
});

// Find if post exist
Expand Down

0 comments on commit e73e5e0

Please sign in to comment.