From b4178423eef07fdd41ef5c645cb056f1f8100eab Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Tue, 26 Dec 2023 10:17:48 +1100 Subject: [PATCH] to_h params for request parser --- lib/adamantium/webmention_request_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/adamantium/webmention_request_parser.rb b/lib/adamantium/webmention_request_parser.rb index 772660c..e820771 100644 --- a/lib/adamantium/webmention_request_parser.rb +++ b/lib/adamantium/webmention_request_parser.rb @@ -5,7 +5,7 @@ module Adamantium include Dry::Monads[:result] def call(params:) - wm_params = params.fetch(:post, params) + wm_params = params.to_h.fetch(:post, params) case wm_params[:"wm-property"] when "in-reply-to"