to_h params for request parser

This commit is contained in:
2023-12-26 10:17:48 +11:00
parent d10b90a75c
commit b4178423ee

View File

@@ -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"