log publish

This commit is contained in:
Asim Aslam
2021-03-01 15:29:20 +00:00
parent a9b80cb53e
commit 9bb28e3a2c

View File

@@ -132,7 +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)
logger.Infof("Publishing post: '%v'", post.Title)
service.NewEvent("posts").Publish(ctx, post)
if oldPost == nil {