Display likes

This commit is contained in:
2024-04-28 08:36:52 +10:00
parent 0509038a45
commit 4c5246374b
6 changed files with 23 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ module Micropub
slug = req.params[:post][:"like-of"].split("/").last
post = post_repo.fetch!(slug)
reply[:post_id] = post.id
like[:post_id] = post.id
webmentions_repo.create(like)
res.body = {