mirror of https://github.com/halo-dev/halo
fix: can not delete post meta.
parent
b2a6d06173
commit
47ea992e7c
|
@ -557,6 +557,8 @@ public class PostServiceImpl extends BasePostServiceImpl<Post> implements PostSe
|
||||||
|
|
||||||
postCategoryService.removeByPostId(post.getId());
|
postCategoryService.removeByPostId(post.getId());
|
||||||
|
|
||||||
|
postMetaService.removeByPostId(post.getId());
|
||||||
|
|
||||||
// List all tags
|
// List all tags
|
||||||
List<Tag> tags = tagService.listAllByIds(tagIds);
|
List<Tag> tags = tagService.listAllByIds(tagIds);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue