diff --git a/slices/micropub/actions/webmentions/create.rb b/slices/micropub/actions/webmentions/create.rb index eb0c649..2e88c8f 100644 --- a/slices/micropub/actions/webmentions/create.rb +++ b/slices/micropub/actions/webmentions/create.rb @@ -24,7 +24,7 @@ module Micropub }.to_json res.status = 202 in Success[:like, like] - slug = req.params[:"like-of"].split("/").last + slug = req.params[:post][:"like-of"].split("/").last post = post_repo.fetch!(slug) reply[:post_id] = post.id