Skip to content

Commit

Permalink
fix(BE): 글을 작성한 뒤 새로고침이 되지 않는 이슈 (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
temptaehoon committed Dec 14, 2022
1 parent 1214ae1 commit 723aa53
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 723aa53

Please sign in to comment.