diff --git a/posts/handler/posts.go b/posts/handler/posts.go index a684124..7770a91 100644 --- a/posts/handler/posts.go +++ b/posts/handler/posts.go @@ -132,6 +132,7 @@ func (p *Posts) savePost(ctx context.Context, oldPost, post *proto.Post) error { } // publish the post as an event + logger.Info("Publishing post: '%v'", post.Title) service.NewEvent("posts").Publish(ctx, post) if oldPost == nil {