Skip to content

Commit

Permalink
Merge pull request #438 from boostcampwm-2022/fix/#432-same-author
Browse files Browse the repository at this point in the history
fix(BE): 글을 작성한 뒤 새로고침이 되지 않는 이슈 (#432)
  • Loading branch information
NaamuKim authored Dec 14, 2022
2 parents 0e4f6e3 + 723aa53 commit 8417b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/domain/post/post.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class PostService {
postEntity.userNickname = userEntity.nickname;

postEntity = await this.postRepository.save(postEntity);
this.postSearchService.indexPost(postEntity, tags);
await this.postSearchService.indexPost(postEntity, tags);

return postEntity.id;
}
Expand Down

0 comments on commit 8417b19

Please sign in to comment.