Fix in-reply path
This commit is contained in:
@@ -13,7 +13,7 @@ module Micropub
|
|||||||
webmention = webmention_parser.call(params: req.params)
|
webmention = webmention_parser.call(params: req.params)
|
||||||
case webmention
|
case webmention
|
||||||
in Success[:reply, reply]
|
in Success[:reply, reply]
|
||||||
slug = req.params[:"in-reply-to"].split("/").last
|
slug = req.params[:post][:"in-reply-to"].split("/").last
|
||||||
post = post_repo.fetch!(slug)
|
post = post_repo.fetch!(slug)
|
||||||
|
|
||||||
reply[:post_id] = post.id
|
reply[:post_id] = post.id
|
||||||
|
Reference in New Issue
Block a user