Skip to content

Commit

Permalink
fix(post): record images meta in creating
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Aug 12, 2022
1 parent f388d50 commit 56e412b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/post/post.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class PostService {
process.nextTick(async () => {
// 异步更新缓存
await Promise.all([
// this.imageService.recordImageMeta(this.model as MongooseModel<PostModel>, res._id)
this.imageService.recordImageMeta(this.model as MongooseModel<PostModel>, res._id)
]);
});
return res;
Expand Down

0 comments on commit 56e412b

Please sign in to comment.