Add auto tagger for posts
This commit is contained in:
@@ -10,6 +10,7 @@ module Adamantium
|
||||
syndicate: "commands.posts.syndicate",
|
||||
send_to_dayone: "syndication.dayone",
|
||||
send_webmentions: "commands.posts.send_webmentions",
|
||||
auto_tag: "commands.auto_tagging.tag",
|
||||
]
|
||||
|
||||
include Dry::Monads[:result]
|
||||
@@ -20,6 +21,8 @@ module Adamantium
|
||||
|
||||
syndicate.call(created_post.id, post)
|
||||
|
||||
auto_tag.call()
|
||||
|
||||
# decorated_post = Decorators::Posts::Decorator.new(created_post)
|
||||
|
||||
# send_webmentions.call(post_content: attrs[:content], post_url: decorated_post.permalink)
|
||||
|
Reference in New Issue
Block a user