Skip to content

armgit / fider

Public Imported from GitHub
0

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.go
index 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 use
func (input *CreateNewPost) OnPreExecute(ctx context.Context) error {
input.Tags = make([]*entity.Tag, len(input.TagSlugs))
for i, slug := range input.TagSlugs {