De-syndicate posts

This commit is contained in:
2024-01-30 20:29:51 +11:00
parent 4833ae01c1
commit 6569060ba0
6 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# frozen_string_literal: true
module Admin
module Actions
module Posts
class DeSyndicate < Admin::Action
include Deps["commands.posts.de_syndicate"]
def handle(req, res)
de_syndicate.call(post_id: req.params[:id], target: req.params[:target])
end
end
end
end
end