Open platform to collect and prioritize feedback
Fix comment on CreateNewPost action
Mercier Mateo782dcafb85a7
diff --git a/app/actions/post.go b/app/actions/post.goindex 0750f494e..b2865050b 100644--- a/app/actions/post.go+++ b/app/actions/post.go@@ -27,7 +27,7 @@ type CreateNewPost struct {Tags []*entity.Tag}-// OnPreExecute prefetches Post for later use+// OnPreExecute prefetches Tags for later usefunc (input *CreateNewPost) OnPreExecute(ctx context.Context) error {input.Tags = make([]*entity.Tag, len(input.TagSlugs))for i, slug := range input.TagSlugs {