From 6ba6ff43bbeb7ce4d43c46e1a148f4872a10009c Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 28 Apr 2024 08:04:09 +1000 Subject: [PATCH] Fix like of handler --- lib/adamantium/webmention_request_parser.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/adamantium/webmention_request_parser.rb b/lib/adamantium/webmention_request_parser.rb index e820771..a5cb0c5 100644 --- a/lib/adamantium/webmention_request_parser.rb +++ b/lib/adamantium/webmention_request_parser.rb @@ -26,11 +26,9 @@ module Adamantium author_name: wm_params[:author][:name], author_photo: wm_params[:author][:photo], author_url: wm_params[:author][:url], - published_at: wm_params[:published], - content_html: wm_params[:content][:html], - content_text: wm_params[:content][:text], + published_at: wm_params[:"wm-received"], source_url: wm_params[:url], - target_url: wm_params[:"in-reply-to"] + target_url: wm_params[:"like-of"] }] Failure(:not_implemented) when "repost-of"